Wei Zhiyi (韋執誼) was a Chinese historian and politician during the Tang Dynasty, serving briefly as chancellor in 805, during the brief reign of Emperor Shunzong and then briefly into the reign of Emperor Shunzong's son Emperor Xianzong. He came to power due to his association with Emperor Shunzong's close associate Wang Shuwen but later broke with Wang; he was nevertheless exiled once Emperor Xianzong became emperor due to his prior association with Wang and died in exile.