In some cases, it is necessary to de-register. It is not required to confirm that you have moved out of an apartment if you move into a new apartment in Germany. However, if you are moving abroad or want to de-register a secondary residence, you must de-register. There is a period of 2 weeks after moving out, or you can deregister at the earliest one week before you move.