Carrey said on Twitter Sunday he did the movie a month before the massacre at Sandy Hook Elementary in Connecticut "and now in all good conscience I cannot support that level of violence."
In a second post, he offered his "apologies to others" involved with the action film.
"I am not ashamed of it but recent events have caused a change in my heart," he wrote.
"Kick-Ass 2" is predicated on the comic book series. Aaron Taylor-Johnson and Chloe Grace Moretz co-star with Carrey, who plays Colonel Stars and Stripes, a born-again ex-mobster.
Executive producer Mark Millar responded in a blog post, CBS News reported.
"As you may know, Jim is a passionate advocate of gun control and I respect both his politics and his opinion, but I'm baffled by this sudden announcement as nothing seen in this picture wasn't in the screenplay 18 months ago," Millar wrote. "Yes, the body-count is very high, but a movie called Kick-Ass 2 really has to do what it says on the tin.
"Ultimately, this is his decision, but I've never quite bought the notion that violence in fiction leads to violence in real-life any more than Harry Potter casting a spell creates more Boy Wizards in real-life. Our job as storytellers is to entertain and our toolbox can't be sabotaged by curtailing the use of guns in an action-movie."