Apex is a town in Wake County, North Carolina, United States. At its southern border, Apex encompasses the community of Friendship. In 1994, the downtown area was designated a historic district, and the Apex train depot, built in 1867, is designated a Wake County landmark. The depot location marks the highest point on the old Chatham Railroad, hence the town's name. The town motto is "The Peak of Good Living".