Composite materials and methods of forming composite materials are provided. The composite materials described herein can be utilized as an electrode material for a battery. In certain embodiments, the composite material includes greater than 0% and less than about 90% by weight silicon particles, and greater than 0% and less than about 90% by weight of one or more types of carbon phases. At least one of the one or more types of carbon phases can be a substantially continuous phase. The method of forming a composite material can include providing a mixture that includes a precursor and silicon particles, and pyrolyzing the precursor to convert the precursor into one or more types of carbon phases to form the composite material.