3. Fiber rich foods: One of the best foods you can eat while taking metformin is fiber. Fiber is found in many foods such as cooked dried beans, peas, brown rice, bran products, whole grain breads, whole grain cereals, crackers, legumes, green leafy vegetables, oats, lentils and whole wheat pasta.