The aim of this study was to optimize protocols for electroporation (EP) and polyfection (PLF) using polyethyleneimine (PEI) for pig sperm transfection and to determine which method was the most efficient. For EP standardization, different voltages, amounts and times of electric pulses were tested using propidium iodide (PI) as reporter. For PLF standardization, different concentrations of fluorescein isothiocyanate (FITC)-labelled PEI (PEI/FITC) were incubated with sperm for different periods of time. Flow cytometry was performed to evaluate the best protocol in terms of cell viability, including cytoplasmic membrane, acrosome, chromatin integrities and mitochondrial potential using the FITC probe, PI, acridine orange (AO) and JC1. Transfections with the plasmid pmhyGENIE-5 were carried out under optimum conditions for each procedure (EP: 500 volts, 500 μs and two pulses; PLF: PEI 0.5 mg/ml and incubation time 10 min). Transfection efficacy was assessed by fluorescence in situ hybridization (FISH). A lower transfection rate was observed for sperm in the control group (17.8%) compared with EP (36.7%), with PLF (76.8%) being the most efficient. These results suggest that the EP and PEI could be an efficient and low cost transfection method for swine sperm. Notably, treated cells showed higher plasmatic the membrane damage (PMD) and/or acrosome damage (AD) indexes, therefore the combination of this procedure with biotechniques that facilitate fecundation (i.e. in vitro fertilization or intracytoplasmic sperm injection) or even inclusion of antioxidant or anti-apoptotic drugs to improve spermatozoa viability would be important.