Control over carrier type and doping levels in semiconductor materials is key for optoelectronic applications. In colloidal quantum dots (CQDs), these properties can be tuned by surface chemistry modification, but this has so far been accomplished at the expense of reduced surface passivation and compromised colloidal solubility; this has precluded the realization of advanced architectures such as CQD bulk homojunction solids. Here we introduce a cascade surface modification scheme that overcomes these limitations. This strategy provides control over doping and solubility and enables n-type and p-type CQD inks that are fully miscible in the same solvent with complete surface passivation. This enables the realization of homogeneous CQD bulk homojunction films that exhibit a 1.5 times increase in carrier diffusion length compared with the previous best CQD films. As a result, we demonstrate the highest power conversion efficiency (13.3%) reported among CQD solar cells.