Llanilar is a village and community in Ceredigion, Wales, about  southeast of Aberystwyth. It is the eponym of the hundred of Ilar.
The population at the 2011 census was 1,085. The community includes Rhos-y-garth.