Quantum mechanics allows for the superposition of quantum states, thereby bringing about the great success of quantum communications. Recently, in the so-called quantum switch, the relative orders between quantum operations can also be coherently controlled with the help of an auxiliary system. In conventional quantum Shannon theory, however, communication channels are assumed to be combined in a classical way. Relaxing this assumption, it was shown theoretically that one can transmit information through a quantum switch. Here, we experimentally demonstrate this enhancement on the rates of communication for both classical and quantum information with the help of an optical quantum switch. Our results present evidence of the advantages of the superposition of causal orders in the communications domain.