The Electorate of Trier (German: Kurfürstentum Trier or Kurtrier; French: Trèves) was an ecclesiastical principality of the Holy Roman Empire that existed from the end of the 9th to the early 19th century. It was the temporal possession of the prince-archbishop of Trier (Erzbistum Trier) who was, ex officio, a prince-elector of the empire. The other ecclesiastical electors were the archbishops (in the secular context called simply electors) of Cologne and Mainz.
The capital of the electorate was Trier; from the 16th century onward, the main residence of the Elector was in Koblenz. The electorate was secularized in 1803 in the course of the German mediatisation.