Hanam is a city in Gyeonggi Province, South Korea. Formerly a part of Gwangju County, it was designated a city in 1989. The ancient Baekje capital of Hanam Wiryeseong may have been located there. Lying immediately east of Seoul, Hanam is also bordered by Namyangju, Gwangju, and Seongnam.