Gwernyfed
{{Use dmy dates|date=October 2019}}
{{Infobox UK place
|static_image = Maestorglwyd, tree-lined track - geograph.org.uk - 1507378.jpg
|static_image_caption = Maestorglwyd: tree-lined track
|map_alt=
|coordinates={{Coord|52.0246|-3.178|display=title}}
|country= Wales
|official_name= Gwernyfed
|welsh_name=
|community_wales= Gwernyfed
|unitary_wales= Powys
|lieutenancy_wales= Powys
|constituency_westminster= Brecon, Radnor and Cwm Tawe
|constituency_welsh_assembly= Brecon & Radnorshire
|post_town= BRECON
|post_town1= HEREFORD
|postcode_area= LD
|postcode_area1= HR
|postcode_district= LD3
|postcode_district1= HR3
|dial_code= 01497
|os_grid_reference=
|population= 1049
| map_type = nomap
| module= 240px
Map of the community
}}
Gwernyfed is a community in Powys, Wales, centred on the village of Three Cocks ({{langx|cy|Aberllynfi}}). It takes its name from Gwernyfed Park, a medieval deer park within the community.
The community of Gwernyfed was established in 1985 through the merger of the former Aberllynfi community, the greater part of the former Tre-goed & Felindre community, and small parts of the Bronllys and former Llanelieu communities. It includes the villages of Three Cocks and Felindre, the Brecknockshire half of the village of Glasbury, and the rural settlements of Tre-goed (Tregoyd) and Pont Ithel.[http://www.powys.gov.uk/uploads/media/11_Gwernyfed_en_01.pdf "Final Proposals – Brecknockshire – Community B11 Gwernyfed"] {{webarchive|url=https://web.archive.org/web/20110927022313/http://www.powys.gov.uk/uploads/media/11_Gwernyfed_en_01.pdf |date=2011-09-27 }}. Powys.gov.uk. Powys County Council. 2006.[http://www.gwernyfed.co.uk/ Gwernyfed Community Council Website] The population in 2011 was 1049, represented by 10 councillors in a single ward.