Pei Commandery was a Chinese commandery from Han dynasty to Northern Qi dynasty. Its territory was located in present-day northern Anhui and northwestern Jiangsu, as well as part of Shandong and Henan.