Middleburg is an unincorporated rural community with a post office sitting just off the Green River in central Casey County, Kentucky, United States. The first land owner in the area was Abraham Lincoln I, the grandfather of president Abraham Lincoln, who purchased 800 acres (3.2 km) in the area in 1784. In 1800, Lincoln transferred the land to Christopher Riffe. Riffe built a home there and operated a mill,which began the focal point of the community. He was also the community's first postmaster when the post office first opened on February 11, 1837. He named it possibly for Middleburg, Virginia; or because of its location midway between Liberty and Hustonville.