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.

Kfm Obituary Notices
Kildare-Based Animal Rescue Group Continue Calls To Ban Sulky Racing On Public Roads
National Homeless Figures Increased By Almost 200 In February
"It's Ridiculous, We Are Still Back In The Nineties": Concern Over Safety Issues At Athy Train Station Highlighted
Piper’s Hill College Among Schools Awarded National LGBTQ+ Quality Mark
North Kildare Road Closures Planned As Major Water Works Get Underway
Damaged Water Mains In Maynooth To Be Replaced, With Works Commencing Next Week