Food The most important aspect of food in relation to gaining lean muscle is in the timing of food intake. That comes in two parts. Firstly, to have enough energy for your workout, you would want to eat at least 1.5 hours before that workout.