diff --git a/railties/guides/w3c_validator.rb b/railties/guides/w3c_validator.rb
index <HASH>..<HASH> 100644
--- a/railties/guides/w3c_validator.rb
+++ b/railties/guides/w3c_validator.rb
@@ -55,6 +55,7 @@ module RailsGuides
     private
     def guides_to_validate
       guides = Dir["./guides/output/*.html"]
+      guides.delete("./guides/output/layout.html")
       ENV.key?('ONLY') ? select_only(guides) : guides
     end
Ignore file guides/output/layout.html on W3C validations