During the Tang Dynasty and the early days of the Song Dynasty the city was centered around the present-day Temple of Duke Zhou, at the northeastern corner of today's walled city.
In 1948, Qufu played a minor role in the Yanzhou Campaign of the Chinese Civil War.