The major intracellular electrolytes are potassium and magnesium. The major extracellular electrolytes are sodium and chloride.