Whether you are eating before or immediately after yoga, it is important what kind of food you are eating rather than when you are eating. Actually, it is suggested to eat 2 hours before practicing yoga and the food you are eating plays a vital role in maximizing the effect of yoga. Prefer fruits and vegetables: If you really want to eat before your yoga class, fruits and vegetables can help you a lot. 2  They will not only increase your body energy levels, but also helps you to reach your fitness goals quickly.