Due to their unique structure, poly(amidoamine) (PAMAM) dendrimers can bind active ingredients in two ways: inside the structure or on their surface. The location of drug molecules significantly impacts the kinetics of active substance release and the mechanism of internalization into the cell. This study focuses on the effect of the protonation degree of the G4PAMAM dendrimer and the anticancer drug 5-fluorouracil (5FU) on the efficiency of complex formation. The most favorable conditions for constructing the G4PAMAM-5FU complex are a low degree of protonation of the dendrimer molecule with the drug simultaneously present in a deprotonated form. The fluorine components in the XPS spectra confirm the formation of the stable complex. Through SAXS and DLS methods, a decrease in the dendrimer’s molecular size resulting from protonation changes at alkaline conditions was demonstrated. The gradual closure of the dendrimer structure observed at high pH values makes it difficult for the 5FU molecules to migrate to the interior of the support structure, thereby promoting drug immobilization on the surface. The 1H NMR and DOSY spectra indicate that electrostatic interactions determine the complex formation process. Through MD simulations, the localization profile and the number of 5FU molecules forming the complex were visualized on an atomic scale.