Markham is a city in York Region, Ontario, Canada. It is approximately 30 km northeast of Downtown Toronto. In the 2021 Census, Markham had a population of 338,503, which ranked it the largest in York Region, fourth largest in the Greater Toronto Area, and 16th largest in Canada.