In 5G heterogeneous networks (HetNets), small-cell base stations (SBSs) are deployed in the coverage of macro base stations (MBSs) to improve the system performance. However, some macro user equipments (MUEs) have strong interference from neighboring SBSs and thus the performance of MBSs decreases. Thus, in this paper, we propose a novel intelligent dynamic power control (DPC) with cell range expansion (CRE) to improve the downlink performance of both small-cell user equipments (SUEs) and CRE user equipments (CUEs) in 5G HetNets. That is, in the proposed DPC scheme, each MUE first collects the received signal strength indicator (RSSI) measurements from neighboring SBSs and sends them to the serving MBS. Then, the MBS finds MUEs with strong interference from neighboring SBSs based on a given target threshold of CRE and offloads a fraction of MUEs from MBSs to SBSs. In addition, SBSs divide their SUEs and CUEs into two groups, i.e., inner and outer groups, to assign different subchannels and dynamically allocate the appropriate transmission power to increase the performance of both SUEs and CUEs. Through simulation results, it is shown that the proposed DPC scheme outperforms others in terms of the capacity and outage probability of SUEs and CUEs.