During the operation of pressurised pipelines transporting compressible fluids, line packing is employed as an effective method that uses the pipeline itself as a buffer storage, compensating for fluctuations in the fluid supply or demand. While in large-capacity natural gas transmission systems, reaching maximum operating pressures during line packing is usually not of practical concern, in small capacity pipelines transporting low-compressibility fluids, such as liquid or dense-phase CO2, line packing can occur quickly, and therefore, estimating the line packing times becomes important to ensure avoiding exceeding the pipeline maximum allowable operating pressure. In this study, a correlation for estimating the line packing time is derived from the transient mass balance in the pipeline. The proposed correlation accounts for the pipeline overall dimensions, operating pressure and temperature, and the fluid properties, namely density and the expansion coefficient. The correlation is also adopted for the calculation of pipeline unpacking times caused by unbalanced discharge from a pipeline. A verification study on line packing in a dense-phase CO2 pipeline shows that within the ranges tested, the proposed correlation estimates conservatively the line packing times with ca. 15 % deviation from the results of simulations obtained using a rigorous transient pipeline flow model. The proposed correlation is also verified against predictions obtained using a parabolic flow model and is recommended for estimating line packing times for both dense-phase and gas-phase CO2 at pressures and temperatures in the ranges 2 - 12 MPa and 280 – 330 K, respectively. The limitations of the proposed line packing time correlation are discussed.