The 33-year-old decided to slim down when he discovered he would have to appear shirtless in the movie, reports contactmusic.com.
"It is R-rated and I'm not in shape for no reason. This time when I take my shirt off, I've made a promise to myself, it doesn't have to be funny," the "How I Met Your Mother" star told Us Weekly magazine.
Segel features opposite actress Cameron Diaz in "Sex Tape".
Photos: Abhishek Bachchan and Farah Khan at Boman Irani's birthday bash
Spotted: Shah Rukh Khan at Morani's bungalow in Mumbai
Spotted: Sonam Kapoor and sister Rhea at Mumbai airport
Photos: Ranveer Singh, Vaani Kapoor get 'Befikre' on 'Super Dancer'
In pictures: 12 child artistes who turned into beautiful divas