Process for preparing a pharmaceutical composition of total secondary ginsenosides comprising (a) ginsenosides with protopanaxadiol as aglycone, including ginsenoside-Rg3; and (b) ginsenosides with protopanaxatriol as aglycone, including ginsenoside-Rg2 and ginsenoside-Rh1; the procedure comprising the following steps: (1) preparation of a total ginsenoside extract liquid: extract a Panax plant with water or an organic solvent, then concentrate the resulting extract liquid; (2) preparation of a hydrolyzed liquid: hydrolyze said concentrated extract liquid in the presence of an inorganic or organic acid as catalyst; (3) resin absorption: passing the hydrolyzed liquid through a styrene-type macroporous resin for column absorption; (4) removal of impurities: elute the absorption column that has absorbed the hydrolyzed liquid with water, with an alkaline aqueous solution and with ethanol at a concentration below 35%, to remove impurities; (5) elution, concentration and drying: after removal of impurities, elute the absorption column with ethanol at a concentration of 60-80%, collect the eluent eluted by ethanol at a concentration of 60-80%, concentrate the eluent to obtain a liquid extract and dry said liquid extract in vacuo, resulting in said pharmaceutical composition of total secondary ginsenosides.Procedimiento para preparar una composición farmacéutica de ginsenósidos secundarios totales que comprende (a) ginsenósidos con protopanaxadiol como aglicona, incluyendo ginsenósido-Rg3; y (b) ginsenósidos con protopanaxatriol como aglicona, incluyendo ginsenósido-Rg2 y ginsenósido- Rh1; comprendiendo el procedimiento las etapas siguientes: (1) preparación de un líquido de extracto de ginsenósidos totales: extraer una planta de Panax con agua o un disolvente orgánico, luego concentrar el líquido de extracto resultante; (2) preparación de un líquido hidrolizado: hidrolizar dicho líquido de extracto concentrado en presencia de un ácido inorgánico u orgánico como catalizador