Recent results in the production of heavy quark flavours in the H1 and ZEUS experiments at HERA are reviewed, and compared with the predictions of theory.