This paper discusses the optimal control law, in a three-dimensional (3D) heliocentric orbit transfer, of a spacecraft whose primary propulsion system is a Solar Wind Ion Focusing Thruster (SWIFT). A SWIFT is an interesting concept of a propellantless thruster, proposed ten years ago by Gemmer and Mazzoleni, which deflects, collects, and accelerates the charged particles of solar wind to generate thrust in the interplanetary space. To this end, the SWIFT uses a large conical structure made of thin metallic wires, which is positively charged with the aid of an electron gun. In this sense, a SWIFT can be considered as a sort of evolution of the Janhunen’s E-Sail, which also uses a (nominally flat) mesh of electrically charged tethers to deflect the solar wind stream. In the recent literature, the optimal performance of a SWIFT-based vehicle has been studied by assuming a coplanar orbit transfer and a two-dimensional scenario. The mathematical model proposed in this paper extends that result by discussing the optimal guidance laws in the general context of a 3D heliocentric transfer. In this regard, a number of different forms of the spacecraft state vectors are considered. The validity of the obtained optimal control law is tested in a simplified Earth–Venus and Earth–Mars transfer by comparing the simulation results with the literature data in terms of minimum flight time.