We extend several results for the structure group of a real Jordan algebra V, to the setting of infinite dimensional JB-algebras. We prove that the structure group Str(V), the cone preserving group G(Ω) and the automorphism group Aut(V) of the algebra V are embedded Banach-Lie groups of GL(V), and that each of the inclusions Aut(V) ⊂ G(Ω) ⊂ Str(V) are of embedded Banach-Lie subgroups. We give a full description of the components of Str(V) via cones, isotopes and central projections. We apply these results to V = B(H) sa the special JB-algebra of self-adjoint operators on an infinite dimensional complex Hilbert space, describing the groups Str(V), G(Ω), Aut(V), their Banach-Lie algebras and their connected components. We show that the action of the unitary group of H on Aut(V) has smooth local cross sections, thus Aut(V) is a smooth principal bundle over the unitary group, with structure group S 1 .