The invention concerns a solid or semi-solid nutritional composition comprising proteins, lipids and digestible carbohydrates from at least two different sources, which provides 2520-3080 kilojoule per 100 g dry mass. The weight amounts of lipid to the sum of proteins and digestible carbohydrates is 2.6-3.8 to 1. The composition can be dissolved in water to provide a liquid food. The composition is especially useful for use as a nutritional formula for epileptic infants.