Dengue fever represents a significant medical and socio-economic burden in (sub)tropical regions, yet antivirals for treatment or prophylaxis are lacking. JNJ-A07 was described as highly active against the different genotypes within each serotype of the disease-causing dengue virus (DENV). Based on clustering of resistance mutations it has been assumed to target DENV non-structural protein 4B (NS4B). Using a photoaffinity labeling compound with high structural similarity to JNJ-A07, here we demonstrate binding to NS4B and its precursor NS4A-2K-NS4B. Consistently, we report recruitment of the compound to intracellular sites enriched for these proteins. We further specify the mechanism-of-action of JNJ-A07, which has virtually no effect on viral polyprotein cleavage, but targets the interaction between the NS2B/NS3 protease/helicase complex and the NS4A-2K-NS4B cleavage intermediate. This interaction is functionally linked to de novo formation of vesicle packets (VPs), the sites of DENV RNA replication. JNJ-A07 blocks VPs biogenesis with little effect on established ones. A similar mechanism-of-action was found for another NS4B inhibitor, NITD-688. In summary, we unravel the antiviral mechanism of these NS4B-targeting molecules and show how DENV employs a short-lived cleavage intermediate to carry out an early step of the viral life cycle.