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
- Log in to your WordPress admin dashboard
- Go to Appearance > Themes
- Click the Add New button at the top
- Browse or search for a theme (e.g., “Astra”, “OceanWP”, “Twenty Twenty-Four”)
- Hover over a theme and click Preview to see how it looks
- 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.
- Go to Appearance > Themes > Add New
- Click the Upload Theme button at the top
- Click Choose File, then select the
.zipfile of your theme - 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





