The invention relates to an active agent having contraceptive properties. Said active agent is a molecular fraction of venom from the Latrodectus mirabilis spider. The active agent is a peptide having sequence SEQ ID NO 1 or sequences at least 85% similar, obtained by means of chemical synthesis or recombinant DNA technology. In a preferred embodiment, the active agent having contraceptive properties is a peptide having 10 to 30 amino acids, preferably 20 amino acids. Said preferred embodiment is illustrated by the sequence SEQ ID NO 2 or sequences that are at least 85% similar, obtained by means of chemical synthesis or recombinant DNA technology. The invention likewise relates to a method for obtaining the contraceptive peptide, which includes the cloning of the nucleotide sequence in a microorganism. The contraceptive pharmaceutical composition includes at least one peptide as per above and one or more pharmaceutically acceptable carriers. Lastly, the invention relates to the use of the peptide which can be used to prepare a drug suitable for use as a contraceptive agent and as a spermicidal agent.La presente invención está dirigida a un agente activo con propiedades anticonceptivas. Dicho agente activo corresponde a una fracción molecular del veneno de Ia araña Latrodectus mirabilis. El agente activo corresponde a un péptido con una secuencia de acuerdo a SEQ ID NO 1, o secuencias similares en al menos un 85%, obtenido mediante síntesis química o bien mediante tecnología de ADN recombinante. En una realización preferida, el agente activo con propiedad anticonceptiva corresponde a un péptido de entre 10 y 30 aminoácidos, preferentemente 20 aminoácidos. Dicha realización preferida está ejemplificada en Ia secuencia SEQ ID NO 2, o secuencias similares en al menos un 85%, obtenida mediante síntesis química o bien mediante tecnología de ADN recombinante. Además se divulga el método para obtener el péptido anticonceptivo que comprende clonar Ia secuencia nucleotídica