Draft & Publish
Page summary:Draft & Publish separates drafts from live entries, allowing editors to stage content before release. This documentation shows how to enable it per content type and manage publish or unpublish actions.
The Draft & Publish feature allows you to manage drafts for your content.
Read the steps as text
- Draft & Publish is the feature that allows you to manage content-types as drafts before publishing them.
Before using it, it should be enabled via the Content-type Builder. - Let's go to the advanced settings of the content-type of our choice!
- Draft & Publish is by default enabled for all content-types.
- Now that we know Draft & Publish is enabled for our articles, we can move to the Content Manager to use it!
- In the list view of the Content Manager, with Draft & Publish enabled, you can see a "Status" column indicating which articles are a draft and which are published.
- Let's publish an article!
- At the top of the interface, below the title, you can see the status of the article.
- And here you can see 2 tabs:
• Draft is where you can edit your article.
• Published is a read-only tab where you can see the content that is published. It is only accessible if the article is published. - Let's click on the Publish button to visit the Published tab!
- Now that we have published the article, the status is updated to "Published" and the Published tab is accessible!
- Click the Published tab!
- The content of the article, as it was published, is shown here in read-only mode.
- Let's go back to the Draft tab!
- Via the ... button, you can unpublish the article.
- Draft & Publish supports bulk actions, meaning that changing the status can be done for several entries of the same content-type, simultaneously.
- Let's go back to the list view of the Content Manager!
- Let's select a couple of articles from the table!
- Tick the boxes to select your articles!
- You can see buttons above the table. These are the available actions that can be performed simultaneously for the selected entries.
- Let's publish the 2 articles!
- A dialog will indicate you if the entries can be published or if a pending action is preventing the publishing.
- Since both articles are ready to publish, we can go ahead and click the Publish button!
- Click Publish again to confirm the action.
- We can see in the Status column that our 2 articles have properly been published!
- ✏️ Note that you can also bulk unpublish entries of your content-type.
- And that's it! We've used Draft & Publish to manage drafts and publish (or unpublish) one or more entries ✨
Configuration
Path to configure the feature: Content Type Builder
For your content types to be managed with Draft & Publish in the Content Manager, the feature must be enabled through the Content-type Builder. Draft & Publish can be configured for each content type.
- Either edit an already created content type of your choice, or create a new content type (see Content Type Builder documentation for more information).
- Go to the Advanced settings tab.
- Tick the Draft & Publish option.
- Click the Finish button.

When Draft & Publish is enabled on a content type, the attribute name status is reserved by Strapi and cannot be used for a user-defined attribute. The Content-type Builder will block:
- Adding an attribute named
statusto a Draft & Publish-enabled content type. - Enabling Draft & Publish on a content type that already has a
statusattribute.
If a content type inherited a status attribute from a Strapi v4 project, Strapi 5 logs a warning at bootstrap. Rename the attribute before re-enabling Draft & Publish to avoid API conflicts. See the migration guide for the full procedure.
Recording the first publication date experimental_firstPublishedAtThis feature requires the experimental_firstPublishedAt feature flag to be enabled.
When this future flag is enabled (see features configuration), Strapi automatically adds a firstPublishedAt attribute to all content-types that use Draft & Publish. The attribute saves the date and time when an entry is first published and never changes even if the entry is unpublished and published again.
If the feature flag is disabled later, the firstPublishedAt attribute and its stored values are removed.