A microfluidic device, particularly of the lab-on-chip type, for the concentration, purification, and detection of biological and/or medical targets of interest starting from a biological sample, which comprises: - a capillary insertion duct for insertion of a biological sample containing a target; - an electrophoresis chamber, containing an electrophoretic material stationary phase; said electrophoresis chamber being in capillary connection with said capillary insertion duct along an insertion section of said capillary insertion duct, on the bottom of the electrophoresis chamber; - a pair of insertion electrodes (31, 32) arranged across said insertion section, said pair of insertion electrodes (31, 32) comprising a first insertion electrode arranged on top of the electrophoresis chamber and a second insertion electrode arranged underneath the capillary insertion duct which are adapted to generate an electrical field capable of extracting and injecting dynamically said target contained in said biological sample, into said electrophoresis chamber; - a microfluidic pump, in capillary connection with said capillary insertion duct, which is configured to maintain said biological sample in motion along said capillary insertion duct at a speed adapted to allow said dynamic injection of said target into said electrophoresis chamber; - said electrophoresis chamber comprising a pair of electrophoresis electrodes (51, 52) arranged on opposite lateral sides of the electrophoresis chamber at right angles with respect to said pair of insertion electrodes (31, 32) which are adapted to generate an electrical field capable of making said target concentrated in said electrophoresis chamber undergo a purifying electrophoretic run through said electrophoretic material; - a capillary extraction duct adapted to receive said target that has been concentrated and purified in said electrophoresis chamber; said electrophoresis chamber being in capillary connection with said capillary extraction duct along an extraction section of said capillary extraction duct; - a detection chamber, in capillary connection with said capillary extraction duct; - a pair of extraction electrodes (61, 62) arranged across said extraction section, said pair of extraction electrodes (61, 62) comprising a first extraction electrode arranged on top of the electrophoresis chamber and a second extraction electrode arranged underneath the capillary extraction duct which are adapted to generate an electrical field capable of injecting, into said extraction section of said capillary extraction duct, said target that has been concentrated and purified in said electrophoresis chamber. - a capillary insertion duct for insertion of a biological sample containing a target; - an electrophoresis chamber, containing an electrophoretic material stationary phase; said electrophoresis chamber being in capillary connection with said capillary insertion duct along an insertion section of said capillary insertion duct, on the bottom of the electrophoresis chamber; - a pair of insertion electrodes (31, 32) arranged across said insertion section, said pair of insertion electrodes (31, 32) comprising a first insertion electrode arranged on top of the electrophoresis chamber and a second insertion electrode arranged underneath the capillary insertion duct which are adapted to generate an electrical field capable of extracting and injecting dynamically said target contained in said biological sample, into said electrophoresis chamber; - a microfluidic pump, in capillary connection with said capillary insertion duct, which is configured to maintain said biological sample in motion along said capillary insertion duct at a speed adapted to allow said dynamic injection of said target into said electrophoresis chamber; - said electrophoresis chamber comprising a pair of electrophoresis electrodes (51, 52) arranged on opposite lateral sides of the electrophoresis chamber at right angles with respect to said pair of insertion electrodes (31, 32) which are adapted to generate an electrical field capable of making said target concentrated in said electrophoresis chamber undergo a purifying electrophoretic run through said electrophoretic material; - a capillary extraction duct adapted to receive said target that has been concentrated and purified in said electrophoresis chamber; said electrophoresis chamber being in capillary connection with said capillary extraction duct along an extraction section of said capillary extraction duct; - a detection chamber, in capillary connection with said capillary extraction duct; - a pair of extraction electrodes (61, 62) arranged across said extraction section, said pair of extraction electrodes (61, 62) comprising a first extraction electrode arranged on top of the electrophoresis chamber and a second extraction electrode arranged underneath the capillary extraction duct which are adapted to generate an electrical field capable of injecting, into said extraction section of said capillary extraction duct, said target that has been concentrated and purified in said electrophoresis chamber.