
| Margecany | |
| Other Name: | Margitfalva |
| Settlement Type: | Municipality |
| Subdivision Type1: | Region |
| Subdivision Type2: | District |
| Subdivision Name2: | Gelnica District |
| Pushpin Map: | Slovakia Košice Region#Slovakia |
| Pushpin Relief: | 1 |
| Pushpin Map Caption: | Location of Margecany in the Košice Region##Location of Margecany in Slovakia |
| Coordinates: | 48.87°N 21.07°W |
| Established Title: | First mentioned |
| Established Date: | 1235 |
| Elevation Footnotes: | [1] |
| Elevation M: | 336 |
| Postal Code Type: | Postal code |
| Postal Code: | 550 1 |
| Area Code: | +421 53 |
| Registration Plate: | GL |
Margecany (hu|Margitfalva, de|Margareten) is a village and municipality in the Gelnica District in the Košice Region of eastern Slovakia.[2] Total municipality population was, in 2011, 1964 inhabitants.[3] Margecany is a very important railway junction situated on the main railway corridor (Košice–Bohumín Railway) connecting Košice with Žilina and Bratislava. Ružín reservoir regulates rivers Hornád and Hnilec. Technical attraction is the Bujanov tunnel.
It has a population of people (31 December).