Van der Waals heterostructures display numerous unique electronic properties. Nonlocal measurements, wherein a voltage is measured at contacts placed far away from the expected classical flow of charge carriers, have been widely used in the search for novel transport mechanisms, including dissipationless spin and valley transport1–9, topological charge-neutral currents10–12, hydrodynamic flows13 and helical edge modes14–16. Monolayer1–5,10,15–19, bilayer9,11,14,20 and few-layer21 graphene, transition-metal dichalcogenides6,7 and moiré superlattices8,10,12 have been found to display pronounced nonlocal effects. However, the origin of these effects is hotly debated3,11,17,22–24. Graphene, in particular, exhibits giant nonlocality at charge neutrality1,15–19, a striking behaviour that has attracted competing explanations. Using a superconducting quantum interference device on a tip (SQUID-on-tip) for nanoscale thermal and scanning gate imaging25, here we demonstrate that the commonly occurring charge accumulation at graphene edges23,26–31 leads to giant nonlocality, producing narrow conductive channels that support long-range currents. Unexpectedly, although the edge conductance has little effect on the current flow in zero magnetic field, it leads to field-induced decoupling between edge and bulk transport at moderate fields. The resulting giant nonlocality at charge neutrality and away from it produces exotic flow patterns that are sensitive to edge disorder, in which charges can flow against the global electric field. The observed one-dimensional edge transport is generic and nontopological and is expected to support nonlocal transport in many electronic systems, offering insight into the numerous controversies and linking them to long-range guided electronic states at system edges.