<?xml version="1.0" encoding="UTF-8"?>
<!-- GENERATED by scripts/build-pages.mjs. Do not hand-edit; re-run the script instead. -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
  <url>
    <loc>https://mainelyfoam.com/</loc>
    <lastmod>2026-08-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/cathedral-ceiling-spray-foam-maine.jpg</image:loc>
      <image:title>Spray foam insulation on a cathedral ceiling in Maine</image:title>
      <image:caption>Vaulted cathedral ceiling and walls sprayed with foam insulation in a Maine home under construction</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/cathedral-ceiling-insulated.jpg</image:loc>
      <image:title>Cathedral ceiling insulated with open-cell spray foam</image:title>
      <image:caption>Cathedral ceiling and exterior walls fully insulated with open-cell spray foam, sealed at every rafter bay</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/vaulted-room-drywall-finished.jpg</image:loc>
      <image:title>The same room after drywall</image:title>
      <image:caption>The same room after Maine-ly Foam finished the drywall, with the insulated cathedral ceiling above</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/faqs/</loc>
    <lastmod>2026-08-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/foam/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/attic/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/attic-rafters-open-cell-foam.jpg</image:loc>
      <image:title>Open-cell spray foam on Maine attic rafters</image:title>
      <image:caption>Thick open-cell spray foam insulation applied to the rafters and ridge of a Maine attic</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/drywall/</loc>
    <lastmod>2026-08-24</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/gallery/</loc>
    <lastmod>2026-08-24</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <video:video>
      <video:thumbnail_loc>https://mainelyfoam.com/images/pole-barn-foam-between-girts-poster.jpg</video:thumbnail_loc>
      <video:title>Closed-cell spray foam in a Maine pole barn</video:title>
      <video:description>Walkthrough of a pole barn in Denmark, Maine, insulated with closed-cell spray foam between the wall girts. Shows the foam filling the girt bays and a foamed window head, then the finished wall beside the overhead door.</video:description>
      <video:content_loc>https://mainelyfoam.com/videos/pole-barn-foam-between-girts.mp4</video:content_loc>
      <video:duration>11</video:duration>
      <video:family_friendly>yes</video:family_friendly>
      <video:live>no</video:live>
    </video:video>
    <video:video>
      <video:thumbnail_loc>https://mainelyfoam.com/images/injection-foam-filling-netted-bay-poster.jpg</video:thumbnail_loc>
      <video:title>Injection foam filling a netted wall bay</video:title>
      <video:description>The fill tube injecting open-cell injection foam into a netted stud bay through the netting at the top of the bay - how a finished wall is insulated without taking the wall apart.</video:description>
      <video:content_loc>https://mainelyfoam.com/videos/injection-foam-filling-netted-bay.mp4</video:content_loc>
      <video:duration>9</video:duration>
      <video:family_friendly>yes</video:family_friendly>
      <video:live>no</video:live>
    </video:video>
    <video:video>
      <video:thumbnail_loc>https://mainelyfoam.com/images/injection-foam-netted-stud-bays-poster.jpg</video:thumbnail_loc>
      <video:title>Netted stud bays filled with injection foam</video:title>
      <video:description>Finished netted stud bays filled with open-cell injection foam, with spray foam run down the framing to seal the edges.</video:description>
      <video:content_loc>https://mainelyfoam.com/videos/injection-foam-netted-stud-bays.mp4</video:content_loc>
      <video:duration>6</video:duration>
      <video:family_friendly>yes</video:family_friendly>
      <video:live>no</video:live>
    </video:video>
  </url>
  <url>
    <loc>https://mainelyfoam.com/r-value/</loc>
    <lastmod>2026-08-24</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/reviews/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/about-us/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/ice-dams/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/homeowner/</loc>
    <lastmod>2026-08-03</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/contact-us/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/crawl-space/</loc>
    <lastmod>2026-08-03</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/energy-star/</loc>
    <lastmod>2026-08-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/how-it-works/</loc>
    <lastmod>2026-08-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/foam-strengthens/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/building-envelope/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/climate-isolation/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/closed-cell-vs-open-cell/</loc>
    <lastmod>2026-08-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/timber-frame-great-room-spray-foam.jpg</image:loc>
      <image:title>Timber-frame great room with spray foam insulation</image:title>
      <image:caption>Timber-frame great room with exposed post-and-beam trusses and spray foam insulation applied between the wall studs</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/definition-of-insulation/</loc>
    <lastmod>2026-08-11</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-cost/</loc>
    <lastmod>2026-08-24</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-conway-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/swift-river-covered-bridge-conway-new-hampshire.jpg</image:loc>
      <image:title>Swift River Bridge, Conway, New Hampshire</image:title>
      <image:caption>The Swift River covered bridge, which dates from 1869, in Conway, New Hampshire - one of three covered bridges in the town</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-gorham-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-lovell-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-sebago-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/sebago-lake-island-sunset-maine.jpg</image:loc>
      <image:title>Sebago Lake, Maine</image:title>
      <image:caption>A small pine-covered island in the middle of Sebago Lake, Maine, under a breaking storm at sunset</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-cornish-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-freedom-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-jackson-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/jackson-honeymoon-covered-bridge-new-hampshire.jpg</image:loc>
      <image:title>The Honeymoon Bridge, Jackson, New Hampshire</image:title>
      <image:caption>The Honeymoon covered bridge over the Ellis River in Jackson, New Hampshire, its red portal signed for the town</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-madison-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-ossipee-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-windham-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-bartlett-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/bartlett-covered-bridge-new-hampshire.jpg</image:loc>
      <image:title>The Bartlett covered bridge, New Hampshire</image:title>
      <image:caption>The Bartlett covered bridge in Bartlett, New Hampshire, retired from road traffic and now housing a gift shop</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-bridgton-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-fryeburg-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/hemlock-covered-bridge-fryeburg-maine.jpg</image:loc>
      <image:title>Hemlock Bridge, Fryeburg, Maine</image:title>
      <image:caption>The Hemlock covered bridge, built in 1857, over an old channel of the Saco River in Fryeburg, Maine</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-portland-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-standish-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>https://mainelyfoam.com/images/standish-maine-sebago-lake-sunset.jpg</image:loc>
      <image:title>Standish, Maine on the shore of Sebago Lake</image:title>
      <image:caption>The Saint Joseph's College campus in Standish, Maine, on the eastern shore of Sebago Lake at sunset</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-wakefield-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-wolfeboro-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-scarborough-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-york-county-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-north-conway-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-oxford-county-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-carroll-county-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-moultonborough-nh/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mainelyfoam.com/spray-foam-insulation-cumberland-county-me/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>
