Plants rely on the conducting vessels of the phloem to transport the products of photosynthesis from the leaves to the roots, or to any other organs, for growth, metabolism and storage. Transport within the phloem is due to an osmotically-generated pressure gradient and is hence inherently nonlinear. Since convection dominates over di↵usion in the main bulk flow, the e↵ects of di↵usive transport have generally been neglected by previous authors. However, di↵usion is important due to boundary layers that form at the ends of the phloem, and at the leaf-stem and stem-root boundaries. We present a mathematical model of transport which includes the e↵ects of di↵usion. We solve the system analytically in the limit of high Munch number which corresponds to osmotic equilibrium, and numerically for all parameter values. We find that the bulk solution is dependent on the di↵usion-dominated boundary layers. Hence, even for large Péclet number, it is not always correct to neglect di↵usion. We consider the cases of passive and active sugar loading and unloading. We show that for active unloading the solutions diverge with increasing Péclet. For passive unloading the convergence of the solutions is dependent on the magnitude of loading. Di↵usion also permits the modelling of an axial e✏ux of sugar in the root zone which may be important for the growing root tip and for promoting symbiotic biological interactions in the soil. Therefore, di↵usion is an essential mechanism for transport in the phloem and must be included to accurately predict flow.