In this paper, we study the holographic models of s-wave and p-wave Josephoson junction away from probe limit in (3+1)-dimensional spacetime, respectively. With the backreaction of the matter, we obtained the anisotropic black hole solution with the condensation of matter fields. We observe that the critical temperature of Josephoson junction decreases with increasing backreaction. In addition to this, the tunneling current and condenstion of Josephoson junction become smaller as backreaction grows larger, but the relationship between current and phase difference still holds for sine function. Moreover, condenstion of Josephoson junction deceases with increasing width of junction exponentially.