it is recorded at the county after money change hands. usually they also write a title insurance so that they are responsible for any issues found later. the insurance premium is part of the closing cost.