No, title insurance has nothing to do with zoning, permitting, code enforcement, and the like. It makes sure that you have, literally, good *title* to the property--that you own it without others have legitimate claims to it, liens on it, mortgages on it (other than any liens and mortgages you know about and either pay off when buying it, or accepted, such as your own mortgage), etc. So it makes sure you are the owner, but does not guaranty all work was permited or legal.