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.

Yellow Rain Warning For Kildare As Flood Risk Being Monitored, Says Council
Kill's Scoil Bhríde Celebrate 105 Years Of Mabel Lyons With Newspaper Article Detailing Events From Past To Present
€20m For Kildare Roads - Safety Works Included Across 17 Sites, Including Dag Welds Cross
Pressure Mounts As Dozens Of Naas Children Await September School Places
Department Of Education Pauses Review Into SNA Allocations
Owners Get Large Tax Breaks For Letting Public View Art And Cultural Assets - But No List Exists
Learner Driver’s "Big Shop" Raises Garda Eyebrows In Newbridge
M9 Park-and-Share Plans For South Kildare Await Talks With Private Landowners That Are Yet to Begin