In this Letter, we derive a relationship between the moments of the first-passage time for a random walk and the first-passage time density for subdiffusive processes modeled by continuous-time random walks. In particular, we show that the exact long-time behavior of the density depends only on the mean first-passage time of the corresponding normal diffusive process. In addition, we give explicit evaluations of the first-passage time distribution for general three-dimensional bounded domains. These results are relevant to systems involving anomalous diffusion in confinements.