In this paper we extend the $H^infty$ functional calculus to quaternionic operators and to $n$-tuples of noncommuting operators using the theory of slice hyperholomorphic functions and the associated functional calculus, called $S$-functional calculus. The $S$-functional calculus has t