Both men are being questioned at a garda station in the Dublin area.
Public order units were deployed early yesterday morning after a number of cars were set on fire in the Brookfield Road area of Tallaght.
Later, during an incident of dangerous driving, there was an attempt to ram an official Garda car.
The Air Support Unit helped gardai find the car responsible in the Wicklow area - and two men were arrested close by.
Both men are being questioned at a garda station in the Dublin area.

Horse Believed To Have Been Driven At Gardaí During Citywest Riots Found Collapsed And Injured
Kildare County Council Announces Climate Week 2025
Tóibín: “ Extreme” Views Highlighted In Secret WhatsApp Groups Will Not Be Tolerated, As He Points To Diversity In Aontú
Gardaí Investigate Alleged Attack In Kildare Town
“And My Daughter Won’t Like Brown People”: Aontú Fires Kildare Youth Leader Over Racist Messages
Michael D. Higgins Congratulates Catherine Connolly Following Decisive Kildare Vote
With Kildare Boxes Opened And Postal Votes Being Counted, Connolly’s Path To Áras An Uachtaráin Seems Certain