Answers.Body: <p>If you I asking whether it is legal to castle out of checkmate if it is the only option then no the same rules apply as with check although I can't really think of many instances where you would be able to castle to prevent checkmate...</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2013-06-18T15:13:46.000Z
Answers.LastActivityDate: 2019-05-21T16:55:57.207Z
Answers.LastEditDate: 2019-05-21T16:55:57.207Z
Answers.UserDisplayName: ThunderToes
Answers.Body: <p>No-if check mate for your king.
  Yes- if check mate for opponent's king</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-06-19T12:54:23.593Z
Answers.LastActivityDate: 2013-06-19T12:54:23.593Z
Answers.UserDisplayName: Maneesh Mohanachandran
Answers.Body: <p>This was achieved by Eric Rosen (IM) on his Twitch stream, uploaded to YouTube Dec 2019.
  <a href="https://www.youtube.com/watch?v=UxZc7ZF2uOY" rel="nofollow noreferrer">https://www.youtube.com/watch?v=UxZc7ZF2uOY</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-13T14:14:27.623Z
Answers.LastActivityDate: 2020-04-13T14:14:27.623Z
Answers.UserDisplayName: NallyRoll
Answers.Body: <p>I can think of two questions you might be meaning to ask, given the wording of your question. Maybe neither of these is what you're after, but just in case:</p>
  
  <p><strong>1. Is it possible to castle out of check or even checkmate?</strong> Here the answer is <em>no</em>. If your king is in check, then castling is not a legal move.</p>
  
  <p><strong>2. Is it possible to castle while checkmating your opponent?</strong> Here the answer is <em>yes</em>, it is possible, though it does not happen often. For instance, the game <a href="http://www.chessgames.com/perl/chessgame?gid=1259009">Ed.Lasker-Thomas (1912)</a>, with its famous queen sacrifice and king hunt, could have finished with a castling mate:</p>
  
  <pre><code>[fen ""]
  1. d4 e6 2. Nf3 f5 3. Nc3 Nf6 4. Bg5 Be7 5. Bxf6 Bxf6 6. e4
  fxe4 7. Nxe4 b6 8. Ne5 O-O 9. Bd3 Bb7 10. Qh5 Qe7 11. Qxh7+
  Kxh7 12. Nxf6+ Kh6 13. Neg4+ Kg5 14. h4+ Kf4 15. g3+ Kf3
  16. Be2+ Kg2 17. Rh2+ Kg1 18. Kd2# (18.O-O-O#)1-0
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-18T00:16:54.547Z
Answers.Text: Paul Morphy vs Alonzo Morphy from 1850 in which Paul Morphy checkmates his opponent via castling kingside: http://www.chessgames.com/perl/chessgame?gid=1238144
Answers.UserDisplayName: Michael Whatcott
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-05-27T05:19:00.377Z
Answers.LastActivityDate: 2013-05-27T05:19:00.377Z
Answers.UserDisplayName: ETD
Body: <p>I am new to chess.  Please answer this for me:</p>
  
  <blockquote>
    <p>Is it possible to castle with checkmate?</p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-14T12:27:13.177Z
Comments.Text: checkmate immediately ends the game. nothing else is possible after that.
Comments.UserDisplayName: peter
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-29T00:15:25.297Z
Comments.Text: You could castle and perform checkmate with that move, though it's not common.
Comments.UserDisplayName: Inertial Ignorance
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-05-27T05:22:13.780Z
Comments.Text: Welcome to the site, Jethik. I edited the language of your post a bit, but I'm not sure exactly what your question is. Does either of the answers below address what you're looking for, or is it something else?
Comments.UserDisplayName: ETD
Tags: <rules><checkmate><castling><check>
Title: Is it possible to castle with checkmate?
ThreadText: # Is it possible to castle with checkmate?
  
  (Asked by: username_0 on 2013-05-27)
  
  I am new to chess. Please answer this for me:
  
  > Is it possible to castle with checkmate?
  
  **Tags:** rules, checkmate, castling, check
  
  > **Comments:**
  > **username_3**: Welcome to the site, username_0. I edited the language of your post a bit, but I'm not sure exactly what your question is. Does either of the answers below address what you're looking for, or is it something else?  
  > **username_1**: checkmate immediately ends the game. nothing else is possible after that.  
  > **username_2**: You could castle and perform checkmate with that move, though it's not common.  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_3 on 2013-05-27. Score: 24 | Accepted answer
  
  I can think of two questions you might be meaning to ask, given the wording of your question. Maybe neither of these is what you're after, but just in case:
  
  **1. Is it possible to castle out of check or even checkmate?** Here the answer is *no*. If your king is in check, then castling is not a legal move.
  
  **2. Is it possible to castle while checkmating your opponent?** Here the answer is *yes*, it is possible, though it does not happen often. For instance, the game [Ed.Lasker-Thomas (1912)](http://www.chessgames.com/perl/chessgame?gid=1259009), with its famous queen sacrifice and king hunt, could have finished with a castling mate:
  
  ```
  [fen ""]
  1. d4 e6 2. Nf3 f5 3. Nc3 Nf6 4. Bg5 Be7 5. Bxf6 Bxf6 6. e4
  fxe4 7. Nxe4 b6 8. Ne5 O-O 9. Bd3 Bb7 10. Qh5 Qe7 11. Qxh7+
  Kxh7 12. Nxf6+ Kh6 13. Neg4+ Kg5 14. h4+ Kf4 15. g3+ Kf3
  16. Be2+ Kg2 17. Rh2+ Kg1 18. Kd2# (18.O-O-O#)1-0
  
  ```
  
  > **Comments:**
  > **username_7**: Paul Morphy vs Alonzo Morphy from 1850 in which Paul Morphy checkmates his opponent via castling kingside: http://www.chessgames.com/perl/chessgame?gid=1238144  
  
  ---
  
  ### Answer by username_4 on 2013-06-18. Score: 3
  
  If you I asking whether it is legal to castle out of checkmate if it is the only option then no the same rules apply as with check although I can't really think of many instances where you would be able to castle to prevent checkmate...
  
  
  ---
  
  ### Answer by username_5 on 2013-06-19. Score: 3
  
  No-if check mate for your king.
  Yes- if check mate for opponent's king
  
  
  ---
  
  ### Answer by username_6 on 2020-04-13. Score: 2
  
  This was achieved by Eric Rosen (IM) on his Twitch stream, uploaded to YouTube Dec 2019.
  <https://www.youtube.com/watch?v=UxZc7ZF2uOY>
  
  
  ---
  
  