← Back to blog

Gym Schema Markup: What to Add and How to Test It

November 25, 2026
Gym Schema Markup: What to Add and How to Test It

Gym schema markup is a block of code on your website that tells Google, in a structured format, who you are, where you are, when you are open and what you sell. For a gym, the core of it is one ExerciseGym (or HealthClub) entry with a correct address, hours, phone number and price range, repeated on every location page and matched to your Google Business Profile. This guide shows which types to use, gives you a JSON-LD example you can adapt, and explains how to test it so errors never go live.

Enochmarketing
enochmarketing.com
Make Your Gym Easier to Find
Enoch Marketing helps CrossFit gyms improve local visibility with tailored strategies including local SEO, web design, and brand strategy.
Visit

TL;DR

  • Use the most specific type available: ExerciseGym or HealthClub, not a generic LocalBusiness. Google asks for the most specific subtype.
  • Name and address are required. Phone, URL, geo coordinates, opening hours and price range are recommended, and they are the details people search on.
  • Write it as JSON-LD, the format Google recommends, and make every value match what visitors can read on the page.
  • Class schedules only qualify for Google's event treatment when the classes are open to the general public, so most membership-only classes should not be marked up as events.
  • Schema supports your Google Business Profile and website. It does not replace them.

Table of Contents

What gym schema markup actually does

Your website is written for people. Schema markup is the same information written for machines. Google says it uses structured data to understand the content of a page and to gather facts about the people, books and companies the markup describes.

For a gym, that means a search engine no longer has to guess that "Mon-Fri 5:00 AM to 8:00 PM" is your hours, or that the number in the footer is your phone number. You state it in a fixed vocabulary, called schema.org, that Google, Bing and others all read.

The markup is invisible to visitors. It sits in the page code, usually in a script tag. Google supports three formats, and it recommends JSON-LD because it is the easiest to implement and maintain in most cases. JSON-LD is a self-contained block of text, so you can add, edit or remove it without touching the visible page design.

What gym schema markup actually does

Why it matters for a local gym

People looking for a gym type things like "CrossFit near me," "gym open now" or "gym no contract." Each of those leans on a specific fact: your location, your hours, your pricing. Marking those facts up cleanly gives search engines one unambiguous version of each. It qualifies your pages for the features Google supports, but it works best as one layer of a bigger local presence, alongside a complete Business Profile, consistent listings and a fast website.

Location, hours and pricing for local gym search

Which schema types a gym should use

Start with the business itself, then add layers only where you have real content on the page to match.

Homepage and location pages: ExerciseGym or HealthClub

Google's local business documentation tells you to define each location as a LocalBusiness and use the most specific subtype possible, and it lists HealthClub among its examples. Schema.org also defines ExerciseGym as "A gym," and it inherits every LocalBusiness property.

Either type is a sound choice for a CrossFit box or studio. Pick one and use it consistently across your site.

Google's property list for a local business works as your checklist:

PropertyStatusWhat to put in it
nameRequiredYour gym's name exactly as it appears on your Business Profile
addressRequiredA full PostalAddress: street, city, state, ZIP, country
telephoneRecommendedThe main number, in the same format everywhere
urlRecommendedThe page that represents this location
geoRecommendedLatitude and longitude, at least 5 decimal places
openingHoursSpecificationRecommendedReal hours, including any holiday exceptions
priceRangeRecommendedA short range under 100 characters

The required and recommended status above comes from Google's local business guidelines. Treat the recommended fields as required for a gym. Hours and location are exactly what people searching nearby need.

Memberships and programs

Once the location entry is solid, you can describe what you sell. Two options are worth considering:

  • Memberships: the makesOffer property lets you attach offers, such as an unlimited membership or a drop-in rate, to the gym entry. Only include prices that are printed on the page.
  • Programs: a Service entry, with areaServed, can describe a program such as an on-ramp course or personal training. Give each one its own page, with the markup on that page.

If you offer amenities that people search on, such as showers, childcare or open gym hours, the amenityFeature property can list them. List only what you really have.

Coaches

Coach bios can use a Person entry with credentials. Use it only when the bio page shows the same name and certifications to visitors. A credential in the markup that is nowhere on the page is a mismatch.

Classes: be careful with Event markup

This is where many gym owners go wrong. Google's Event structured data rules require a unique URL for each event with the markup on that page, an accurate name, start date and location. They prohibit marking up things that are not events, such as discounts, coupons or business hours. Events must also be open to the general public, so classes only members can book are not eligible for the event experience.

In practice:

  • Your daily 6 AM class schedule for members should not be marked up as events.
  • A public open house, a charity workout or a community competition on its own page can be.
  • Hours belong in openingHoursSpecification, not in Event markup.

If your site has a published schedule and you want the same clarity for each page, our guide to structured data for gyms walks through the class and location steps in more depth.

A JSON-LD example you can adapt

Here is a minimal gym entry. Replace every value with your own, and never leave sample text in place.

{
  "@context": "https://schema.org",
  "@type": "ExerciseGym",
  "name": "Example CrossFit",
  "url": "https://www.example-crossfit.com/",
  "telephone": "+1-555-555-0100",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "Austin",
    "addressRegion": "TX",
    "postalCode": "78701",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 30.26715,
    "longitude": -97.74306
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "05:00",
      "closes": "20:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Saturday"],
      "opens": "08:00",
      "closes": "12:00"
    }
  ],
  "sameAs": [
    "https://www.instagram.com/examplecrossfit",
    "https://www.facebook.com/examplecrossfit"
  ]
}

The whole block goes inside a script tag of type application/ld+json, placed in the page head or body. Most website builders and CMS platforms have a custom code or header field where it can be pasted.

Rules that keep the markup valid

  1. Match the page. Every value in the markup should appear on the visible page, and the name, address and phone should be identical to your Google Business Profile.
  2. Remove notes. Do not leave comments inside the JSON. They are not valid in JSON-LD.
  3. One entry per location. A multi-location gym gets one entry on each location page, with that location's own address and phone. Do not stack every address on the homepage.
  4. Keep it current. Change the markup whenever hours, prices or phone numbers change. Stale markup is worse than none.

How to add it to your site

  1. Collect the facts. Pull your legal name, address, phone, hours and price range from your Business Profile so the two match exactly.
  2. Write the JSON-LD. Adapt the example above, adding makesOffer or amenityFeature only for things you have on the page.
  3. Paste it in. Put the script block in the page head or body, or in your CMS's custom code field for that page.
  4. Test before and after publishing. See the next section.
  5. Repeat for each location page. Each gets its own address, phone and hours.
  6. Set a reminder. Review the markup each time your schedule or pricing changes, and at least twice a year.

If your site is built on a template that makes this awkward, the fix is usually at the website level. A gym website built to convert has dedicated location and program pages, which is what clean markup needs to attach to.

How to test gym schema markup

Two free tools do different jobs:

  • Google's Rich Results Test checks whether a page is eligible for Google's supported rich results.
  • The Schema Markup Validator (validator.schema.org) checks that your markup is valid against the schema.org vocabulary, whether or not Google offers a feature for that type.

Run your code through both. Paste the code before you publish, then test the live URL afterward to confirm the script actually loads. In Google Search Console, the enhancement reports will flag issues on pages Google has crawled.

Common errors

ProblemLikely causeFix
Missing fieldName or address left outAdd the required fields
Invalid JSONA missing comma, an extra quote or a commentRun the code through a JSON checker and delete notes
Mismatch with the pageHours or phone changed on the page onlyUpdate the markup and the page together
Wrong coordinatesToo few decimal places or swapped valuesUse at least 5 decimals, latitude first
Class events rejectedMembers-only classes marked as eventsRemove the Event markup, keep hours in the location entry

A "no items detected" result does not always mean something is broken. The Rich Results Test only reports on the features Google supports, so a valid entry for a type with no rich result may show nothing there. In that case the Schema Markup Validator is the right check.

What schema can and cannot do for your gym

Schema is the supported route to rich results in Google Search, and it states your core facts in one consistent format. It is not a ranking switch. Google's own description of local results rests mainly on relevance, distance and prominence, which is why your Google Business Profile, your reviews and your local citations carry the weight and schema backs them up.

In practice that means the order of work matters:

  1. Complete and verify your Business Profile.
  2. Make your name, address and phone match everywhere.
  3. Build a page for each location and each program.
  4. Add schema to those pages so the facts are machine-readable.

Our Google Maps ranking fixes cover the first two steps in detail. Schema is most useful when those foundations are already in place.

Our view

Most gym owners we talk to ask about schema as if it were a trick. It is not. It is housekeeping that only pays off when the rest of your local presence is in order.

At Enoch Marketing we work only with gyms and fitness brands, so we think about schema as one piece of a connected system: the website, the Google Business Profile, local SEO, reviews, and the follow-up that turns a search into a booked intro. Our approach is to make those pieces say the same thing in the same way, and structured data is the machine-readable version of that consistency.

If you are going to do it, do it once and do it accurately: one specific type, real hours, real prices, a page per location. Then leave your time for what fills the floor, which is being found, being trusted and being easy to book.

Collin

Where we can help

Markup is one small task inside a gym's local SEO. Our local SEO and reputation work is built for gyms, and it connects your Business Profile, website and reviews so the information about your gym is the same everywhere. If you want it as part of a wider marketing plan, our Get Found plan is $1,500 per month, Fill the Floor is $2,500 per month and Growth Engine is $4,500 per month, all listed on the pricing page. Services are also available individually, and there are no lock-in contracts.

Enochmarketing

To see how it fits your gym, you can book a free strategy session on our site.

FAQ

Do I need a developer to add schema markup to my gym website?

Not necessarily. JSON-LD is a block of text that you paste into the page head or body, or into a custom code field in your website builder. A developer helps when your template does not allow custom code or you have many locations to manage.

Should I use ExerciseGym or HealthClub?

Both are valid. Schema.org defines ExerciseGym as a gym, and Google lists HealthClub as an example of a specific local business subtype. Choose one, use it on every location page, and make sure the required name and address are correct.

Can I mark up my class schedule?

Only in specific cases. Google's event rules require events to be open to the general public, each with its own page, and they exclude business hours. Put your regular hours in the location entry, and use Event markup only for public one-off events such as an open house.

How do I know if my markup is working?

Test the code in Google's Rich Results Test and the Schema Markup Validator, then check Search Console for reported issues once Google has crawled the page. Fix errors first, since they are the ones that can keep a page from qualifying for a rich result.

Sources