The outer layer of the renal parenchyma, about 1 cm thick, reddish-brown and granular, lying just beneath the fibrous capsule, capping the bases of the renal pyramids and dipping between them as the renal columns. It contains almost all of the roughly one million glomeruli in each kidney, the proximal and distal convoluted tubules and the medullary rays (bundles of collecting ducts and loops of Henle rising from the medulla); about 85% of nephrons are cortical and 15% juxtamedullary, with long loops of Henle reaching deep into the medulla. The cortex receives about 90% of renal blood flow through the interlobular arteries. A thin, echogenic cortex on ultrasound suggests chronic kidney disease; bilateral cortical necrosis from shock or obstetric complications causes irreversible renal failure. Glomerular diseases (glomerulonephritis, diabetic nephropathy) mainly affect the cortex.