Eating outside is not the factor which contributes to weight gain. Apart from it, the things you are eating outside plays an important role. It's always better and beneficial to know what you eat. The junk food in the outside food is major contributor in weight gain. Always count the intake calories, fat, protein etc. whenever you eat something.