The Xiannongtan (先农坛), or the Temple of Agriculture or Altar of Agriculture, is a historic site in Xuanwu District of Beijing, China, and located near the Temple of Heaven. Built in the 15th century, it was used by Ming and Qing emperors to perform sacrifices. It has the status of Nationally Protected Key Cultural Relic (全国重点文物保护单位 ).