Machnín (German: Machendorf) is the 33rd of the 35 districts of the city of Liberec, Czech Republic.
Formerly a village, Machnín was established somewhere in the Fourteenth century by Donín's family, and was named after Burgrave Vilém z Dolína's wife Machna. A former name for Machnín was Machnadorf, and some sources also refer to it as Mochendorf, Machndorf or Mochendorff. The first reference to it is found in records from 1482 which mention a battle between Jan Královec and the Sorbs (Czech: Lužičané).
From its beginnings, the history of the village was affected by its position on the boundary between Grabštejn and Frýdlant lordships, and by its proximity to the Hamrštejn (German: Hammerstein) Castle.