S SCHEMA.BIZ

schema.org property: openingHoursSpecification

Opening Hours Schema

Opening hours schema tells search engines when a place is open, one OpeningHoursSpecification at a time: which days (dayOfWeek), from when (opens) until when (closes), and, for seasonal or holiday hours, between which dates (validFrom, validThrough). It goes on a LocalBusiness or any other Place. This page covers the regular week, 24-hour and overnight hours, closed days, holidays and the shorter openingHours text form.

What openingHoursSpecification means

"The opening hours of a certain place."

Which types use openingHoursSpecification

schema.org defines openingHoursSpecification on one type, and every subtype of it inherits it: Place.

Where you'll use it most:

Other types with a guide here that can use openingHoursSpecification: LegalService, FinancialService, RealEstateAgent, EducationalOrganization.

Valid values for openingHoursSpecification

schema.org expects a OpeningHoursSpecification. The ones worth using:

Value type When to use it
OpeningHoursSpecification The only value type: one object, or an array with one object per group of days that share the same hours. Each has dayOfWeek, opens and closes, and optionally validFrom and validThrough.

How Google uses openingHoursSpecification

Google's local business documentation recommends openingHoursSpecification, with dayOfWeek, opens and closes, and validFrom and validThrough for seasonal closures. Since August 2023 it asks for standard English schema.org values: Monday or https://schema.org/Monday, not a translated day name. The documentation also gives the two special cases: open 24 hours is opens 00:00 with closes 23:59, and closed all day is 00:00 for both. No other Google feature reads opening hours.

  • Local business : Business details such as opening hours, address and ratings. Last change in Google's documentation: August 15, 2023.

Last checked against Google's documentation: .

Opening Hours schema examples

A bakery open the same hours every weekday

One OpeningHoursSpecification covering five days. Days that share hours go in one dayOfWeek array, so a regular week rarely needs more than two or three objects.

{
  "@context": "https://schema.org",
  "@type": "Bakery",
  "name": "Rye & Crumb",
  "url": "https://www.example.com/",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": [
      "https://schema.org/Monday",
      "https://schema.org/Tuesday",
      "https://schema.org/Wednesday",
      "https://schema.org/Thursday",
      "https://schema.org/Friday"
    ],
    "opens": "07:00",
    "closes": "15:00"
  }
}

A diner with 24-hour weekends, late nights and a holiday closure

Friday and Saturday use Google's 00:00–23:59 form for open all day. The other nights close after midnight, written as one object whose closes is earlier than its opens. New Year's Day 2027 is closed, using a one-day validFrom and validThrough with 00:00 for both times.

{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "Northside Diner",
  "url": "https://www.example.com/",
  "telephone": "+1-614-555-0158",
  "priceRange": "$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "3011 North High Street",
    "addressLocality": "Columbus",
    "addressRegion": "OH",
    "postalCode": "43202",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 40.02391,
    "longitude": -83.01358
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "https://schema.org/Friday",
        "https://schema.org/Saturday"
      ],
      "opens": "00:00",
      "closes": "23:59"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "https://schema.org/Sunday",
        "https://schema.org/Monday",
        "https://schema.org/Tuesday",
        "https://schema.org/Wednesday",
        "https://schema.org/Thursday"
      ],
      "opens": "06:00",
      "closes": "01:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "opens": "00:00",
      "closes": "00:00",
      "validFrom": "2027-01-01",
      "validThrough": "2027-01-01"
    }
  ]
}

A hardware store with a seasonal garden center and a phone line

The store's regular week, a garden center department with its own hours that apply only from spring to autumn 2027, and a customer service line whose hours go in the ContactPoint's hoursAvailable. Each object carries the hours that are true for it.

{
  "@context": "https://schema.org",
  "@type": "HardwareStore",
  "@id": "https://www.example.com/#store",
  "name": "Hillside Hardware",
  "url": "https://www.example.com/",
  "telephone": "+1-503-555-0116",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "880 Southeast Hawthorne Boulevard",
    "addressLocality": "Portland",
    "addressRegion": "OR",
    "postalCode": "97214",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 45.51203,
    "longitude": -122.65788
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "https://schema.org/Monday",
        "https://schema.org/Tuesday",
        "https://schema.org/Wednesday",
        "https://schema.org/Thursday",
        "https://schema.org/Friday",
        "https://schema.org/Saturday"
      ],
      "opens": "08:00",
      "closes": "19:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "https://schema.org/Sunday",
      "opens": "10:00",
      "closes": "17:00"
    }
  ],
  "department": {
    "@type": "GardenStore",
    "name": "Hillside Garden Center",
    "openingHoursSpecification": {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "https://schema.org/Thursday",
        "https://schema.org/Friday",
        "https://schema.org/Saturday",
        "https://schema.org/Sunday"
      ],
      "opens": "09:00",
      "closes": "18:00",
      "validFrom": "2027-03-15",
      "validThrough": "2027-10-31"
    }
  },
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer service",
    "telephone": "+1-503-555-0117",
    "hoursAvailable": {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "https://schema.org/Monday",
        "https://schema.org/Tuesday",
        "https://schema.org/Wednesday",
        "https://schema.org/Thursday",
        "https://schema.org/Friday"
      ],
      "opens": "09:00",
      "closes": "17:00"
    }
  }
}

Common openingHoursSpecification mistakes

Day names abbreviated or translated

VALUE_ENUM: This property expects one of a fixed list of schema.org values, such as https://schema.org/InStock.

dayOfWeek is an enumeration, the same in every language; this is the standard English values rule Google added in August 2023.

Wrong

{
  "@context": "https://schema.org",
  "@type": "Bakery",
  "name": "Bäckerei Sonnenkorn",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": [
      "Montag",
      "Dienstag",
      "Mi"
    ],
    "opens": "07:00",
    "closes": "18:00"
  }
}

Right

{
  "@context": "https://schema.org",
  "@type": "Bakery",
  "name": "Bäckerei Sonnenkorn",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": [
      "https://schema.org/Monday",
      "https://schema.org/Tuesday",
      "https://schema.org/Wednesday"
    ],
    "opens": "07:00",
    "closes": "18:00"
  }
}

Opening times in 12-hour format

VALUE_DATE: Dates and times must be ISO 8601: 2026-03-14 for a date, 09:00 for a time of day (24-hour), 2026-03-14T09:00:00-04:00 for a date and time. Other formats, and dates that don't exist, can't be read reliably.

opens and closes are times of day in 24-hour hh:mm (seconds optional). The page can show 5 PM; the markup says 17:00.

Wrong

{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "name": "Lakeview Family Dental",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": "https://schema.org/Monday",
    "opens": "8:00 AM",
    "closes": "5:00 PM"
  }
}

Right

{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "name": "Lakeview Family Dental",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": "https://schema.org/Monday",
    "opens": "08:00",
    "closes": "17:00"
  }
}

Hours objects without an @type

TYPE_MISSING_NESTED: Nested objects should say what they are too. Without an @type, search engines have to guess, and Google's features may not recognise the object.

Wrong

{
  "@context": "https://schema.org",
  "@type": "Store",
  "name": "Fern & Fable Books",
  "openingHoursSpecification": [
    {
      "dayOfWeek": "https://schema.org/Saturday",
      "opens": "10:00",
      "closes": "18:00"
    }
  ]
}

Right

{
  "@context": "https://schema.org",
  "@type": "Store",
  "name": "Fern & Fable Books",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "https://schema.org/Saturday",
      "opens": "10:00",
      "closes": "18:00"
    }
  ]
}

Giving a ContactPoint openingHoursSpecification

PROP_NOT_ON_TYPE: This schema.org property isn't defined for the object's type, so search engines may ignore it.

A phone line isn't a place, so its hours use ContactPoint's own property, hoursAvailable, with the same OpeningHoursSpecification inside.

Wrong

{
  "@context": "https://schema.org",
  "@type": "ContactPoint",
  "contactType": "customer service",
  "telephone": "+1-503-555-0117",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": "https://schema.org/Monday",
    "opens": "09:00",
    "closes": "17:00"
  }
}

Right

{
  "@context": "https://schema.org",
  "@type": "ContactPoint",
  "contactType": "customer service",
  "telephone": "+1-503-555-0117",
  "hoursAvailable": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": "https://schema.org/Monday",
    "opens": "09:00",
    "closes": "17:00"
  }
}

Also watch for

  • Writing the specification as a text string, such as "Mo-Fr 09:00-17:00", in openingHoursSpecification. That syntax belongs to the separate openingHours property; the specification takes objects.

  • Leaving last December's holiday closures in the template after the dates have passed, or marking up holiday hours that the page itself doesn't mention.

  • Marking up hours that differ from the ones shown on the page or in the business's Google Business Profile. Update them together, from one source.

  • Putting the restaurant's kitchen hours, the bar's hours and the takeaway window into one list for the same days, so the markup claims overlapping, contradictory openings. Give separate parts their own department or leave them out.

One object per set of hours

An OpeningHoursSpecification says: on these days, open at this time, close at that time. Group days that share hours into one dayOfWeek array, and add another object for each different set. A shop open 9–6 on weekdays and 10–4 on Saturday needs two objects; a café that closes for the afternoon (8–14, then 17–22) needs two objects for the same days, one per shift.

dayOfWeek takes the DayOfWeek values: Monday to Sunday, written as full URLs (https://schema.org/Monday) or the bare English names. schema.org's list also has PublicHolidays, but Google's documentation doesn't use it, so describe holidays by date instead, as below.

opens and closes are local times in 24-hour hh:mm or hh:mm:ss. They need no time zone: the place's address already says where it is, and a UTC offset would be wrong for half the year wherever clocks change.

A day you don't list says nothing. Readers can't tell "closed on Monday" from "forgot Monday", so if the business is closed on a regular weekday it's fine to leave the day out, but for a one-off closure state it explicitly.

24 hours, closed all day and nights past midnight

Google's local business documentation settles two cases. A business open 24 hours on a day has opens "00:00" and closes "23:59". A business closed all day has "00:00" for both. Don't use "24:00" or "00:00"–"00:00" to mean open all day: the second one means closed.

Hours that run past midnight, like a bar open from 17:00 to 02:00, are usually written as one object on the day the evening starts, with closes earlier than opens: Friday, opens "17:00", closes "02:00". Splitting it into Friday 17:00–23:59 and Saturday 00:00–02:00 is also accurate, but it doubles the objects and can read as two separate openings.

A place that is open around the clock every day can put all seven days in one array with 00:00–23:59. For a business with no fixed hours, such as one that opens by appointment only, leave the property out and say so on the page rather than inventing a schedule.

Seasonal and holiday hours with validFrom and validThrough

validFrom and validThrough limit an object to a date range, in YYYY-MM-DD; Google's documentation describes them as the start and end of a seasonal closure. Both dates are inclusive, so a one-day holiday uses the same date for both.

Two patterns cover most needs. For a closure (Christmas Day, a week off in August), add an object with 00:00 for opens and closes and the dates, alongside the regular week. For a season with different hours, such as a garden center open only from March to October or a beach café with longer summer hours, give the seasonal object its own dayOfWeek, times and dates. An object without dates applies all year, so the regular week needs none.

schema.org also has specialOpeningHoursSpecification, meant for exceptions that override the regular hours. It's valid, but Google's documentation doesn't mention it; the holiday-as-dated-object approach is the one to rely on for Google.

Dated objects need upkeep. Generate them from the same calendar the site's hours notice uses, and drop them once the dates pass, so the markup doesn't carry three years of old holidays.

openingHours text or the specification

schema.org has a second, shorter property, openingHours, which takes text such as "Mo-Fr 09:00-17:00" or "Mo,Tu,We,Th 08:00-16:00, Sa 10:00-14:00": two-letter English day codes, ranges with a hyphen, 24-hour times. It's valid on any LocalBusiness and easy to write by hand, but it can't express dates, so it has no way to say "closed on 1 January". Google's local business documentation recommends openingHoursSpecification, and that's the one to use when you're choosing.

Don't give both with different hours. If a plugin prints openingHours and you add the specification, remove one, or make sure they come from the same data. The Generator at /markup/generator/ takes hours in the short text syntax in its LocalBusiness form and outputs openingHoursSpecification objects, which is a quick way to convert.

When the hours apply to something other than the place itself, use the property made for it: hoursAvailable on a ContactPoint for a phone line, and on a Service for when a service is offered. A department with its own hours, such as a pharmacy inside a supermarket, gets its own openingHoursSpecification under department. Paste the result into the Validator at /markup/validator/: it reports day names outside the enumeration, 12-hour times and untyped hours objects.

Other property guides