Is it illegal to not answer your front door if a police officer knocks?

No. If the police don’t have a warrant, then there are very limited circumstances under which they can get into your house. So the short answer is no. That being said, if you consent to let them in, then that’s on you and they are not violating any laws by taking you up on your offer.

Dmitriy Shakhnevich, Esq.