Quantum brachistochrone method has recently emerged as a technique allowing one to implement the desired unitary evolution operator in a physical system within the minimal time. Here, we apply this approach to the problem of time-optimal quantum state transfer in the array of three qubits with time-varying nearest-neighbor couplings and analytically derive the fastest protocol.