Terahertz (THz) absorbers are highly desirable in sensing and detection devices. Herein, we have proposed a 3D dual-band near-perfect absorber that works in the THz regime for sensing applications. The theoretical calculation shows that the absorption efficiency of the absorber can reach 99.0 and 97.0% at 1.125 and 1.626 THz, respectively. Double absorption peaks can be tuned independently by alternating the geometric parameters of unit resonators. The underlying physical mechanism of the absorber matches well with the well-known impedance matching theory. Compared with its planar counterpart, our proposed absorber exhibits a figure of merit enhancement of at least two times due to its out-of-plane induced large interfacial area. Additionally, the absorber can work robustly at a wide range of incident angles and keep insensitive to polarization states, which renders it great for highly sensitive sensing.