A study found that men who sipped between 170 and 375 milligrams (mg) of caffeine each day, or 2-3 cups approximately, had lower rates of erectile dysfunction. Caffeine is an effective penis food because it relaxes the smooth muscles of the penis, paving the way for blood to fill it up.