v3.26.1
Loss Per Share - Summary of Earnings Per Share, Basic and Diluted (Detail)
¥ / shares in Units, ¥ in Thousands
12 Months Ended
Dec. 31, 2025
CNY (¥)
¥ / shares
shares
Dec. 31, 2025
$ / shares
Dec. 31, 2024
CNY (¥)
¥ / shares
shares
Dec. 31, 2024
$ / shares
Dec. 31, 2023
CNY (¥)
¥ / shares
shares
Dec. 31, 2023
$ / shares
Earnings Per Share [Abstract]            
Net Income (Loss) | ¥ ¥ (1,139,460)   ¥ (5,790,264)   ¥ (10,375,775)  
Net loss attributable to ordinary shareholders of XPeng Inc. | ¥ ¥ (1,139,460)   ¥ (5,790,264)   ¥ (10,375,775)  
Weighted average number of ordinary shares outstanding-Basic | shares 1,903,989,310   1,891,357,212   1,740,921,519  
Weighted average number of ordinary shares outstanding-Diluted | shares 1,903,989,310   1,891,357,212   1,740,921,519  
Net loss per ordinary share, Basic | (per share) ¥ (0.6) $ (0.6) ¥ (3.06) $ (3.06) ¥ (5.96) $ (5.96)
Net loss per ordinary share, Diluted | (per share) ¥ (0.6) $ (0.6) ¥ (3.06) $ (3.06) ¥ (5.96) $ (5.96)