This question already has an answer here:
- When is castling possible? 6 answers
Black to move in a game I just played. My rival and I were wondering about castling.
- White bishop in D6 threatens B8. Is legal for black to make long (queen) castle? (Black king and rooks have not moved)
- If white bishop were in E5 threatening H8, would be legal short (king) castle?
[title "-"] [fen "r3k2r/pp1nnp2/2pB2pp/3p1p2/3P4/2N3PB/PPP1PP1P/R3K2R b KQkq - 0 1"]