“My house is my castle” – this maxim formulated by the lawyer and judge Edward Coke in his 1628 work Institutes of the Law of England remains firmly rooted in English law, but the right to defence against unlawful attacks involving the violation of home privacy is also protected by criminal law in the legal systems of many European countries. We all want to feel safe in our own home. Therefore, it is natural to take defensive measures in the event of an attack involving intrusion into the living space. However, in the Polish legal system, there is no absolute defence and the legality of defence measures depends on meeting a number of conditions. The subject of the analysis is the issue of criminal law protection of the human right to live in peace, free from disturbances, considered through the prism of the limits of the legality of defensive measures. This problem has not only a theoretical dimension, because – as the statistics show – despite the noticeable decrease in crime over recent years, the number of crimes under Art. 193 of the Criminal Code remains fairly stable.