# How to Add a Countdown Timer to Shopify {#post-title}

[UpBar](/blog/#blog-upbar)

By [B2B Gold](/about/#how-we-write) Published 27 October 2026 Updated 4 November 2026

## Does Shopify have a countdown timer? {#does-shopify-have-a-countdown-timer}

No. Shopify has no countdown timer in its admin, and Dawn and Horizon, two of Shopify’s free themes, include no countdown section. Some paid themes do; otherwise a countdown takes custom code or an app. Whichever you use, count down to a real deadline: the end of a sale, a launch or an order cut-off.

> **Note:** The Shopify settings and labels on this page were checked against Shopify’s help documentation on 4 November 2026, and the themes against Shopify’s published theme code on 26 October 2026.

A countdown has two halves: the deadline, which your discount or launch actually enforces, and the clock that shows it. Set up the first in Shopify, then choose how to show the second.

## What should a countdown count down to? {#what-should-a-countdown-count-down-to}

A countdown should count down to a time that really ends something: a discount’s end date, a product launch, or the cut-off for an order to leave today. A clock that restarts for every visitor, or disappears and comes back, tells shoppers something untrue.

Regulators have noticed. The US Federal Trade Commission’s 2022 staff report on dark patterns lists the “Baseless Countdown Timer”, which it describes as “showing a fake countdown clock that just goes away or resets when it times out” ([Bringing Dark Patterns to Light](https://www.ftc.gov/reports/bringing-dark-patterns-light)).

Three kinds of deadline hold up:

| Deadline | Holds up only when |
| --- | --- |
| A fixed end date and time, the same for everyone | It matches when your discount ends |
| A daily cut-off, such as orders by 2 pm leaving the same day | You really do dispatch that day |
| A timer for each shopper | The offer itself is personal, such as a welcome code that expires |

## Does your theme have a countdown? {#does-your-theme-have-a-countdown}

Some paid Shopify themes include a countdown section or block, often for a sale or the password page; Dawn and Horizon have none, so on those themes you need code or an app. Check your theme before adding anything: in the theme editor, add a section or a block and search for “countdown” or “timer”.

If your theme has one, check three things:

1. That it counts to a date and time you set, not a fresh clock per visit.
2. What it does at zero.
3. Whether it uses your store’s time zone or each shopper’s.

## How do you add a countdown with code? {#how-do-you-add-a-countdown-with-code}

You can add a countdown with code by placing a small script in a **Custom Liquid** section or block that counts down to a fixed date and time. That works in themes with **Custom Liquid**, but it is more work than it looks:

- Write the end as a full date and time with your store’s time-zone offset, so the clock ends at the same moment for every shopper, wherever they are.
- Decide what happens at zero: hide the clock, or replace it with a line saying the offer has ended. A clock stuck at zero, or counting below it, looks broken.
- The script lives in your theme. You change its date for every sale and carry it across theme updates and theme changes yourself.

## How do you add a countdown to your password page? {#how-do-you-add-a-countdown-to-your-password-page}

Shopify’s password page takes sections and blocks like your other pages: open it in the theme editor, then add your theme’s countdown section, a **Custom Liquid** section with your own code, or an app’s countdown block.

1. In your Shopify admin, go to **Online Store**, find your theme and click **Edit theme**.
2. Open the page menu at the top, which starts on **Home page**, and choose **Password**.
3. Add the countdown section or block, set its end date, and click **Save**.

The password page shows only while your store is password-protected: in **Online Store** → **Preferences**, turn on **Private mode** in the **Store access** section ([Shopify’s help on the password page](https://help.shopify.com/en/manual/online-store/themes/password-page)). Count down to the moment you plan to open, and turn private mode off then. On Shopify Plus, the Launchpad app can password-protect your store for a set time before an event ([Shopify’s help on Launchpad](https://help.shopify.com/en/manual/promoting-marketing/create-marketing/launchpad)); otherwise you turn the password off yourself.

## Can you schedule the sale to start and end on time? {#can-you-schedule-the-sale-to-start-and-end-on-time}

Yes, on Shopify’s Basic plan or higher. Shopify’s Rollouts can switch on a sale theme and discounts at a start time, then switch them back at the end ([Shopify’s help on rollouts](https://help.shopify.com/en/manual/markets/rollouts/requirements-and-considerations)), and a discount’s own **Active dates** can end it on time. The steps are in our guide to [scheduling Black Friday theme changes on Shopify](/blog/schedule-black-friday-changes-shopify/).

Whatever ends the sale, set the countdown to the same date and time, in your store’s time zone. On Shopify Plus, Launchpad can also schedule price changes, product availability, inventory and theme changes for an event.

## What goes wrong with countdown timers? {#what-goes-wrong-with-countdown-timers}

Most countdown problems come from the clock and the deadline drifting apart. Before a sale goes live, check that:

1. The clock and the discount end at the same moment, both in your store’s time zone.
2. Something happens at zero: the clock hides or says the offer has ended, rather than sitting at 00:00:00 for days.
3. The date is in the words too, such as “Sale ends 30 November at midnight”, for shoppers using screen readers and anyone who glances at a moving clock.
4. The clock comes down with the sale, so a returning shopper never sees a countdown for an offer that has gone.
5. It reads well on a phone, where a wide clock can push the rest of the page down.

## How do you add a countdown with an app? {#how-do-you-add-a-countdown-with-an-app}

To add a countdown with an app, install the app, set the end date and where the clock shows, and add its block or embed to your theme. The app shows the clock; your discount still decides when the price ends.

> **Note:** Shopify’s Canvas “is in early access and is available only to certain stores”, and “You can’t add or configure app blocks or app embeds in Canvas”; a theme edited there opens only in Canvas. Keep the original theme, which you can still edit in the theme editor, for an app’s countdown block ([Shopify’s requirements for Canvas](https://help.shopify.com/en/manual/online-store/themes/canvas/requirements), checked 4 November 2026).

UpBar, which we build, adds a countdown as a theme block, the **UpBar Countdown Timer**, which can go on any page of an Online Store 2.0 theme, the password page included. You choose how it counts down: **Ends on a specific date** for a sale or a launch, **Resets daily at a set time** for a daily cut-off, or a timer per visitor. At zero it can freeze, disappear with **Hide the timer**, or show an ended message. UpBar starts a new timer as a 60-minute per-visit clock, so set your real end date before you switch it on.

UpBar’s sticky bar, cart bar, popup and product page box can each carry a countdown of their own, and the block’s clock can also show on the product cards in your collections. Every date it shows is one you type: UpBar doesn’t know carrier or holiday deadlines. The steps are in [countdown timers with UpBar](/docs/upbar/countdown-timer/). To see the block and the clock on product cards count down on a sample store before you install anything, try [the UpBar demo](/shopify/upbar/demo/).

> **Tip:** [UpBar, which shows free shipping goals, countdowns and delivery dates](/shopify/upbar/), is free, and its countdown block can go on any page of an Online Store 2.0 theme, the password page included.

## Frequently asked questions {#frequently-asked-questions}

### Can a countdown show a different deadline in each country? {#can-a-countdown-show-a-different-deadline-in-each-country}

Not with one clock: a countdown shows one time, so different deadlines need one clock per country, each shown only there. A store-wide sale is simpler with one end time, stated with its time zone. UpBar’s Countdown Timer block has one end time for the whole store and can be shown or hidden by country, so it suits a single deadline.

### Can I show a countdown on collection pages? {#can-i-show-a-countdown-on-collection-pages}

Yes: a countdown can show on collection pages with code or an app that adds the clock to your product cards. UpBar’s **Badge on collection product cards** shows the same campaign clock on every card in scope: it is one sale’s end, not a different date per product.

### Should a daily countdown reset at midnight? {#should-a-daily-countdown-reset-at-midnight}

A daily countdown should reset at midnight only if your deadline is midnight. A dispatch cut-off countdown should end at the time you actually stop dispatching that day, and say what the shopper gets by beating it. For delivery promises, see [how to show an estimated delivery date on Shopify](/blog/shopify-estimated-delivery-date/).

[UpBar: Free Shipping Bar Goal](/shopify/upbar/)

UpBar is a Shopify app that adds a free-shipping goal bar, rotating announcements, countdown timers, delivery-date estimates, trust badges, a sticky add-to-cart bar and a promo popup to your theme. Every feature is free. It displays the goals, rates and dates you enter, while Shopify's checkout decides what shoppers pay, and its blocks need an Online Store 2.0 theme.

[Install free on the Shopify App Store](https://apps.shopify.com/upbar-free-shipping-upsell?utm_source=b2bgold.app&utm_medium=referral&utm_campaign=blog&utm_content=blog/shopify-countdown-timer&utm_term=post-cta) [Plans and pricing](/shopify/upbar/#pricing) [UpBar docs](/docs/upbar/)

Need help with UpBar? Email [support@b2bgold.app](mailto:support@b2bgold.app).

## More on UpBar {#related-heading}

- 27 October 2026 **[How to Add an Announcement Bar on Shopify](/blog/shopify-announcement-bar/)** Your Shopify theme likely has an announcement bar already. Add messages, rotate or scroll them, schedule a change, and see when you need an app instead.
- 27 October 2026 **[How to Show an Estimated Delivery Date on Shopify](/blog/shopify-estimated-delivery-date/)** Shopify shows delivery dates at checkout, and on product pages only with Shop Promise for US stores. See every option, and how to add a date to product pages.
- 27 October 2026 **[How to Add a Free Shipping Bar to Shopify](/blog/free-shipping-bar-shopify/)** Shopify can offer free shipping over an amount, but Dawn and Horizon show no progress bar. Set up the threshold, then show it with your theme, code or an app.
