Gardaí were called to a domestic incident involving a man with a legally held firearm at a house in Glenealy last night at 7pm.
The Garda Regional Support Unit and a negotiator were brought to the scene, while the roads in Glenealy were closed off as a precautionary measure.
After the man surrendered the firearm, he was arrested and taken to Wicklow Garda Station.
He has since been released after being questioned by Gardaí, who are preparing a file for the Director of Public Prosecutions.
Gardaí would like to thank the co-operation of the public, and apologise for any inconvenience caused.