In this work, analytic solutions of initial value problems for fractional Langevin equations involving Hilfer fractional derivatives and variable coefficients are studied. Firstly, the equivalence of an initial value problem to an integral equation is proved. Secondly, the existence and uniqueness of solutions for the above initial value problem are obtained without a contractive assumption. Finally, a formula of explicit solutions for the proposed problem is derived. By using similar arguments, corresponding conclusions for the case involving Riemann–Liouville fractional derivatives and variable coefficients are obtained. Moreover, the nonlinear case is discussed. Two examples are provided to illustrate theoretical results.