Four of the projects - in Rhyl, Wrexham, Cardiff and Barry - will see gates fitted to rear alleyways to make it harder for thieves to access vulnerable houses and garages and to evade arrest. Residents will be issued with keys to the gates along with the emergency services and public utilities.
The schemes will be led by local community safety partnerships with the police and local authorities working together. Each project will receive £50,000.
Announcing the pilots, Mrs Hart said: 'Alleygating has tremendous potential for drastically cutting burglary rates and for making people feel much more secure in their homes. I am sure that these pilots will prove this and I hope they will be the first of many in Wales.
'Gating will also help keep back lanes free of rubbish and prevent nuisance behaviour such as graffiti and youth annoyance. I am directing this substantial funding into pilot areas where there are significant problems with crime and disorder and where ordinary law abiding citizens deserve the right to much greater peace of mind.'
The minister added: 'This funding demonstrates directly the Welsh Assembly Government's commitment to building safer and stronger communities across Wales where crime and fear of crime are minimised. I am looking forward to seeing the very real gains in crime reduction and community reassurance that this investment will bring.'
The areas selected for the alleygating are Rhyl West; the Caia Park estate in Wrexham; Ely, Cardiff and the Cast leland ward in Barry. The Milford Haven project will centre on the town's Mount Estate. The schemes, which can begin immediately, have the full support of local residents who have been consulted.