Organophosphorus compounds are widely distributed and highly toxic to the environment and living organisms. The current detection of organophosphorus compounds is based on a single-mode method, which makes it challenging to achieve good portability, accuracy, and sensitivity simultaneously. This study designed a multifunctional microfluidic chip to develop a dual-mode biosensor employing a DNA hydrogel as a carrier and aptamers as recognition probes for the colorimetric/electrochemical detection of malathion, an organophosphorus compound. The biosensor balanced portability and stability by combining a microfluidic chip and target-triggered DNA hydrogel-sensing technologies. Moreover, the biosensor based on target-triggered DNA hydrogel modified microfluidic developed in this study exhibited a dual-mode response to malathion, providing both colorimetric and electrochemical signals. The colorimetric mode enables rapid visualization and qualitative detection and, when combined with a smartphone, allows on-site quantitative analysis with a detection limit of 56 nM. The electrochemical mode offers a broad linear range (0.01–3000 μM) and high sensitivity (a limit of detection of 5 nM). The two modes could validate each other and improve the accuracy of detection. The colorimetric/electrochemical dual-mode biosensor based on target-triggered DNA hydrogel modified microfluidic chip offers a portable, simple, accurate, and sensitive strategy for detecting harmful environmental and food substances.