How do I install and activate a theme in WordPress?

Applies to: WordPress 6.x and later
Last updated: September 2025


Problem

A theme controls the design, layout, and overall appearance of your WordPress site. While WordPress comes with default themes, most site owners want to install a theme that matches their brand or provides specific features. Installing and activating a theme is one of the first steps in customizing a WordPress site.


Solution

You can install and activate themes directly from the WordPress dashboard or upload a theme if you’ve purchased or downloaded one from a third-party provider.


Step-by-step instructions

Method 1: Installing from the WordPress Theme Directory

  1. In the WordPress dashboard, go to Appearance > Themes.
  2. Click Add New.
  3. Use the search bar or browse featured, popular, and latest themes.
  4. Hover over a theme and click Preview to see how it might look.
  5. Click Install on the theme you want.
  6. Once installed, click Activate to apply it to your site.

Method 2: Uploading a Theme File

  1. Download the theme’s .zip file from the provider.
  2. In the dashboard, go to Appearance > Themes > Add New.
  3. Click Upload Theme and select the .zip file.
  4. Click Install Now, then Activate.

Optional methods or tools

  • Theme Demos and Starter Sites: Many themes include demo content you can import to quickly replicate a sample layout.
  • Theme Customizer or Site Editor: After activation, customize your theme’s settings under Appearance > Customize or Appearance > Editor (for block-based themes).
  • Child Themes: Use a child theme if you plan to customize code, ensuring updates to the parent theme won’t overwrite changes.

Best practices or tips

  • Always choose themes from reputable sources to ensure security and performance.
  • Check that the theme is regularly updated and compatible with your version of WordPress.
  • Preview themes on both desktop and mobile to ensure responsiveness.
  • Avoid switching themes frequently, as it may disrupt your site’s layout or functionality.
  • Consider performance — lightweight themes generally load faster and improve SEO.