The Tongdian (Chinese: 通典; Wade–Giles: T'ung-tien; literally "Comprehensive Institutions") is a Chinese institutional history and encyclopedia text. It covers a panoply of topics from high antiquity through the year 756, whereas a quarter of the book focuses on the Tang Dynasty. The book was written by Du You from 766 to 801. It contains 200 volumes and about 1.7 million words, and is at times regarded as the most representative contemporary texts of the Tang Dynasty. Du You also incorporated many materials from other sources, including a book written by his nephew, Du Huan, who was taken captive in the famous battle at the Talas River between Tang and the Arabs in 751 and did not return to China until ten years later. It became a model for works by scholar Zheng Qiao and Ma Duanlin centuries later.
Robert G. Hoyland relates that the Tongdian 's first draft was a "history of human institutions from earliest times down to the reign of Emperor Xuanzong of Tang", and was subsequently revised as matters continued to evolve. It incorporates parts of the Zhengdian of Liu Zhi and the Great Tang Ritual Regulations of the Kaiyuan Era compiled by Xiao Song, and others in 732. The Tongdian was never included in the canon of the Twenty-Four Histories. It was however quoted extensively in several books which were, starting with the Book of Tang.
- 食貨典 Food and commodity
- 選舉典 Examination and advancement
- 職官典 Government offices
- 禮典 Rites
- 樂典 Music
- 兵典 Military
- 刑法典 Penal law
- 州郡典 Local administration
- 邊防典 Border defense
- Zhang Xiuping et al., 100 Books That Influenced China, p.232-237
- Hoyland, Seeing Islam as Others Saw It, p. 244
- Twitchett, Official History under the T'ang, 104-7