Xiaopei (小沛) is an ancient Chinese town located in present-day Pei County, Jiangsu. During the late Han Dynasty period, it was under the jurisdiction of Xu Province, governed by Tao Qian. Before Tao died, he handed his governorship over to Liu Bei. Liu Bei took refuge in Xiaopei when Lü Bu seized Xu Province from him through deceit.