While Madrid is relatively casual, it's respectful to dress neatly when visiting religious sites. Avoid overly revealing clothing and opt for comfortable yet modest attire.