Menu

How Many Days Until Halloween

The days left until October 31, the weekday Halloween falls on, and a clock that counts down to the start of the day.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

When Halloween is and how far away

Halloween takes its name from All Hallows' Eve, the evening before All Saints' Day on November 1. The date never changes, but the weekday does: Halloween 2026 is a Saturday, 2027 a Sunday and 2028 a Tuesday, because a year is one day longer than 52 weeks and 2028 adds February 29.

The big number counts calendar days, so on October 30 it says 1 day. The clock counts to midnight at the start of October 31 on your device. Trick-or-treating and parties happen in the evening, so add the hours from midnight to your start time, or set the exact time on the countdown to a date page.

On October 31 the page wishes you a happy Halloween, and from November 1 it counts to the next one.

Dates and weekdays, by way of Halloween

  • A date's weekday moves forward one day a year and two after a leap day, which is why Halloween moves between weekends and weeknights.
  • A countdown to a day ends at midnight, the start of that day. An evening event needs a time as well as a date.
  • Python's strftime("%A") names the weekday of any date, so four lines list Halloween's weekday for years ahead.

How to use the Halloween countdown

  1. Open the page

    The number of days to October 31 is there as soon as the page loads.

  2. Note the weekday

    The date line under the number tells you if Halloween is on a school night or a weekend.

  3. Plan in weeks

    The weeks and days under the clock help with costumes and party invitations.

Halloween weekdays, 2026 to 2030

October 31 and the day of the week it falls on.

YearHalloween
2026Saturday, October 31
2027Sunday, October 31
2028Tuesday, October 31
2029Wednesday, October 31
2030Thursday, October 31

Halloween countdowns in practice

Planning a Halloween party

Paste a small example into the tool and change one part at a time.

30 days to go, shown as 4 weeks, 2 days, and the date line reads Saturday, October 31, 2026: a weekend Halloween.

The night before

Copy the original value, run the tool, then compare the result.

The number says 1 day and the clock shows 3 hours to midnight. If trick-or-treating starts at 18:00 on the 31st, you have 21 hours, not 3.

Halloween weekdays in Python

Python
from datetime import date
for year in range(2026, 2031):    halloween = date(year, 10, 31)    print(year, halloween.strftime("%A"))

date(year, 10, 31) builds each Halloween and strftime("%A") names its weekday. The output matches the table above, Saturday for 2026 to Thursday for 2030.

Halloween countdown mix-ups

  • Reading the clock as the time left until trick-or-treating. It counts to midnight as October 31 begins.
  • Expecting Halloween on a weekend again next year. It moves one weekday later, two after a leap day.
  • Counting the day you are on. The number is the calendar days still to come, so October 30 shows 1.

Halloween countdown FAQ

When is Halloween?

Always on October 31. In 2027 that is a Sunday, and in 2028 a Tuesday.

Does the Halloween countdown run to the evening?

No. It reaches zero at midnight as October 31 starts on your device. For a party at 19:00, use the countdown to a date and set the time.

Is Halloween on a weekend in 2027?

Yes, it falls on Sunday, October 31, 2027. In 2026 it is a Saturday, and in 2028 a Tuesday.

Why does the Halloween clock show one day fewer than the number?

The number counts calendar days, and the clock counts the time to midnight at the start of October 31. Partway through any day the clock is a day lower, plus the hours left.

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

Get started