The attack happened at a house on Phibsboro Road at about 22:30 local time on Saturday night.
The man was taken to the Mater Hospital where he was later pronounced dead.
A woman in her 40s was arrested in connection with the incident.
A woman has been arrested after a 36-year-old man died following a stabbing in Phibsboro in Dublin.