Schema markup for guesthouses & inns
Inn and guesthouse schema markup, rooms and kitchen included
Use LodgingBusiness for the rooms, with check-in times, room count and dog rules, and describe your restaurant or bar as a department with its own serving hours and menu link. One block then answers both “a room for Saturday?” and “is the kitchen open at nine?”.
The type to use
LodgingBusiness
schema.org has no Inn or Guesthouse type, so LodgingBusiness, the parent of every lodging type, is the honest fit. A small owner-run guesthouse whose only meal is breakfast fits BedAndBreakfast better.
LodgingBusiness on schema.orgWhat to include
The properties that matter for guesthouses & inns
Most important first. Fill in what's true for you and leave out the rest; every value must also be on the page.
- department
- Your dining room or bar as a Restaurant or BarOrPub with its own serving hours, menu link and cuisine. Kitchen times rarely match the rooms', and a department keeps them apart.
- address
- Inns share names with dozens of others (there's a Red Lion in every county). A full address, written the same on every listing, keeps you from being merged with the one down the road.
- checkinTime
- When rooms are ready. At an inn, check-in often happens at the bar, so say on the page who to ask for and until when.
- numberOfRooms
- Six rooms above a pub is a different stay from a forty-room hotel, and the number says so in one value.
- petsAllowed
- Inns are often dog-friendly in the bar but not in every bedroom. A note saying which (“Dogs welcome in the bar and two ground-floor rooms”) saves the question.
- amenityFeature
- What overnight guests ask about: parking, a garden, an EV charger, a log fire. Food belongs in the department, not in this list.
- telephone
- The number for room bookings. If tables are booked on a different line, put that one in the department.
Example
Copy, then make it yours
This is the markup for a made-up business. Replace every value with your own before you use it.
- Change every name, address, number and link to your own, and delete lines that don't apply.
- Paste it into your site's header code (website builders call it “code injection” or “custom code”), or let HotelCited add it for you.
- Check it with Google's Rich Results Test or the Schema Markup Validator.
LodgingBusiness JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LodgingBusiness",
"name": "The Kingfisher Inn",
"url": "https://www.example.com/",
"image": "https://www.example.com/images/inn-front.jpg",
"telephone": "+44 1632 960734",
"address": {
"@type": "PostalAddress",
"streetAddress": "Church Lane",
"addressLocality": "Shere",
"addressRegion": "Surrey",
"postalCode": "GU5 9HF",
"addressCountry": "GB"
},
"numberOfRooms": 6,
"checkinTime": "14:00:00",
"checkoutTime": "10:30:00",
"petsAllowed": "Dogs welcome in the bar and in two ground-floor rooms",
"amenityFeature": [
{
"@type": "LocationFeatureSpecification",
"name": "Free parking",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "Beer garden",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "Log fire in the bar",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "Lift",
"value": false
}
],
"department": {
"@type": "Restaurant",
"name": "The Kingfisher dining room",
"telephone": "+44 1632 960735",
"servesCuisine": "Seasonal British, Sunday roasts",
"hasMenu": "https://www.example.com/food",
"acceptsReservations": true,
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"opens": "12:00",
"closes": "21:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Sunday",
"opens": "12:00",
"closes": "17:00"
}
]
}
}
</script>Watch out
Mistakes guesthouses & inns make with markup
Bar hours on the inn itself
Opening hours on the LodgingBusiness read as the hours the inn is open, so an 11pm closing can look like the rooms shut too. Serving hours belong on the department.
Two blocks, two names, one address
A food plugin and a booking plugin can each add markup, with “The Kingfisher” in one and “Kingfisher Inn & Rooms” in the other. Make it one block, with the food side as its department.
Only plates of food in image
If every photo in the block is a dish, there's nothing to show someone choosing where to sleep. Lead with the building and a bedroom; food photos belong to the department.
Also worth adding
- Menu: If your food page lists dishes in text, Menu markup with sections and items can describe it. Only worth it if you'll update it when the chalkboard changes.
- Event: For quiz nights, live music or a beer festival with a date and start time, each on your events page.
FAQ
Guesthouses & inns: markup questions
Type to search these questions, or ask anything about getting found on Google and AI.
Food is most of our takings. Should BarOrPub be the main type?
If most people come to eat and drink, flip it: make BarOrPub the main type and add the rooms as a LodgingBusiness department with their check-in times. Either way round, it's one business at one address in one block.
Our kitchen closes earlier in winter. Do we edit the markup each time?
Add both sets of serving hours to the department once, each with validFrom and validThrough dates, and the switch is already in the code. Keep the food page saying the same thing.
We call ourselves a guesthouse but cook dinner for residents. Which type?
If only staying guests can eat, list it as an amenity (“Evening meals for residents”) and skip the department. Add a Restaurant department once non-residents can book a table.
More for guesthouses & inns
Someone is asking AI where to stay tonight.
Check your site free, then press Optimize. Back to your guests.