This study proposes a dual-functional terahertz device based on the Dirac semimetal, serving as both a sensing element and a band-pass filter. The device’s operating mode can switch between these two functions by utilizing the phase transition property of vanadium dioxide (VO2). When VO2 is in the insulating state, the device functions as a sensing element. The simulation results demonstrate an impressive refractive index sensitivity of 374.40 GHz/RIU (Refractive Index Unit). When VO2 is in the metallic state, the device functions as a band-pass filter, exhibiting a center frequency of 2.01 THz and a 3 dB fractional bandwidth of 0.91 THz. The integration of these dual functionalities within a single terahertz device enhances its utility in both sensing and filtering applications.