We analyze the performance of a particle detector based on a double-barrier Nb/Al/AlOx/Al/AlOx/Al/Nb junction where the Al trapping layer is embedded between two insulating AlO x barriers. Within this layer, a very sharp Andreev bound state (ABS) level E 0 is formed. Because of a very long recombination time, the charge amplification factor is expected to be 10-100 times larger in the double-barrier detector compared to ordinary single-barrier devices. The double barrier detector also has much higher idle-state subgap resistance at low temperatures. Because the middle Al quasiparticle trap layer is separated from the adjacent layers by two insulating tunneling barriers, the proximity effect is minimized. This provides much better alignment between the maximum of nonequilibrium quasiparticle distribution function and the maximum in the electron density of states. All the factors listed result in much higher sensitivity and the energy resolution of the double barrier Nb-based STJ as compared to their single-barrier analogs.Index Terms-Andreev bound states, double-barrier junction, nonequilibrium distribution, particle and X-ray detector.