How do I install and activate a new theme in WordPress?

Applies to: WordPress.org (self-hosted)
Last updated: May 2025


Problem

You want to change the design or layout of your WordPress site by using a different theme but don’t know how to install or activate it.


Solution

WordPress makes it easy to install and activate new themes either from the official theme directory or by uploading a custom theme from your computer.


Option 1: Install a Theme from the WordPress Directory

  1. Log in to your WordPress admin dashboard
  2. Go to Appearance > Themes
  3. Click the Add New button at the top
  4. Browse or search for a theme (e.g., “Astra”, “OceanWP”, “Twenty Twenty-Four”)
  5. Hover over a theme and click Preview to see how it looks
  6. Click Install, then Activate to apply it to your site

Your site now uses the new theme design.


Option 2: Upload a Theme from a ZIP File

This method is used for premium or custom themes downloaded from outside the WordPress directory.

  1. Go to Appearance > Themes > Add New
  2. Click the Upload Theme button at the top
  3. Click Choose File, then select the .zip file of your theme
  4. Click Install Now, then Activate

The new theme is now live on your site.


After Activating a New Theme

  • Visit Appearance > Customize to adjust colors, fonts, layouts, and other settings
  • Some themes may install recommended plugins for added functionality (optional)
  • Review your site’s front end to ensure content displays properly

Notes

  • Changing themes does not delete your posts or pages, but layout and widget positions may be affected
  • Always back up your site before switching themes
  • Use a staging site for testing if you have a high-traffic or complex site