Hamtramck is a city in Wayne County in the U.S. state of Michigan. An enclave of Detroit, Hamtramck is located roughly 5 miles north of downtown Detroit, and is surrounded by Detroit on most sides. As of the 2020 census, the city had a population of 28,433, and was by far the most densely populated municipality in Michigan. It is notable as the only Muslim-majority city in the United States.