We obtain operator-valued analogues of Bohr's inequality involving both the absolute values of operators and their norms, that when restricted to the scalar case imply the classical Bohr inequality. In the scalar case we extend Bohr's inequality to the case where one function is majorized by another function, to the Hardy space, $H^2(\mathbb{D})$, and to bounded analytic functions on the annulus.