Foreigners are not allowed to get a marriage certificate in Shanghai. If outsiders want to get a marriage certificate in Shanghai, they must meet the partner for the Shanghai city hukou, so that outsiders can get a marriage certificate in Shanghai. If both men and women are not registered in Shanghai, according to the "Marriage Registration Regulations", the Shanghai marriage registration authority is not able to accept marriage registration.