We extend the relativistic mean field (RMF) model for hadronic matter to include quark degrees of freedom. In the quarkyonic phase, quarks are treated as quasi-free particles with density dependent masses, where both confinement and leading-order perturbative interactions are included. The effects of Pauli blocking and interactions between quarks and baryons are treated with phenomenenlogical approaches. Nuclear matter, quarkyonic matter and transitions between them are investigated with the extended RMF model. Two types of phase transitions are obtained, one is of first-order and the other of third-order. With the model parameters determined according to the observational masses of pulsars, it is found that the quarkyonic transition is likely to be third-order.