Tropical rainforests do not need to sit next to an ocean, sea, or large lake to exist; what they need is reliable moisture, which most commonly comes from high rainfall and humid air, not from a nearby body of water. The phrase "close to bodies" in the query is incomplete, so it is worth separating two meanings: proximity to oceans or seas (coastal location) and proximity to rivers, streams, or wetlands (inland water). Neither is strictly required, but each affects how a rainforest works and where it can persist.

What actually defines a tropical rainforest

Tropical rainforests are evergreen forests in the humid tropics, typically receiving roughly 2,000 millimeters (about 80 inches) or more of rain annually, with high humidity, warm temperatures year-round, and a short or absent dry season. Those climate conditions, not geography, are the defining requirement. Rainforest can occur on islands, on continental interiors, along rivers, and on upland slopes far from any sea.

The moisture that sustains them comes mainly from three sources: rainfall generated by regional atmospheric circulation (including the intertropical convergence zone), moisture recycled by the forest itself through transpiration, and, in some regions, orographic uplift where moist air rises over mountains and cools into rain. A nearby ocean can supply atmospheric moisture, but it is not the mechanism itself; inland forests such as parts of the Amazon and the Congo Basin are far from any coast and still qualify as tropical rainforest.

Coastal proximity is common but not a requirement

Many famous tropical rainforests are coastal or near-coastal: the Amazon's eastern mouth region, the Atlantic Forest of Brazil, rainforests of Borneo and Sumatra, and the wet tropics of northeastern Queensland, Australia. Coastal location can help because onshore winds carry humid air inland and because maritime air masses moderate temperature. But this is a statistical tendency, not a rule.

Counterexamples are decisive. The Amazon Basin contains vast rainforest thousands of kilometers from the Atlantic. The Congo Basin rainforest lies deep in central Africa. Montane rainforests in the Andes and in New Guinea occur at high elevation well away from coasts. The general principle is that a body of water can be a moisture source, but regional rainfall and atmospheric circulation do the real work.

Inland water: rivers and wetlands matter more locally

Rivers, streams, and wetlands influence rainforest structure and species composition far more directly than an ocean does. Riparian (riverbank) rainforests have distinct vegetation, often with higher light, periodic flooding, and different soils. In the Amazon, floodplain forests (várzea and igapó) are shaped by seasonal inundation, and these are genuinely tied to a large river system.

But the forest as a whole does not require a river adjacent to every stand. Many rainforest patches grow on interfluves—the higher ground between rivers—and depend on rainfall and soil moisture rather than surface water. So inland water affects local ecology and can create specialized habitats, without being a precondition for rainforest existence.

Why the confusion arises

The confusion usually comes from conflating two different claims. One is that tropical rainforests are often found in humid coastal or riverine settings, which is true in many regions. The other is that they must be close to a body of water, which is false. The first is a pattern; the second is a requirement. A second source of confusion is scale: at the scale of a single forest patch, proximity to a stream may strongly affect which species grow there; at the scale of a biome, coastal proximity is irrelevant.

A third confusion is semantic. "Body of water" can mean an ocean, a lake, a river, or a wetland, and each has a different relationship to rainforest. Oceans and large lakes influence regional climate; rivers and wetlands influence local hydrology and soil. Treating them as one category produces a misleading yes-or-no question.

Practical implications for conservation and restoration

For conservation planning, the relevant questions are whether rainfall, humidity, and dry-season length are adequate, and whether local hydrology supports the target forest type. Coastal proximity is not a criterion for identifying tropical rainforest. Restoration projects sometimes emphasize riparian buffers because they protect water quality and provide corridors, but that is a management choice, not a definitional requirement.

Bottom line

Tropical rainforests require sustained moisture and warmth, not geographic closeness to a body of water. Many occur near coasts or rivers, but inland and montane rainforests demonstrate that proximity is neither necessary nor sufficient. The answer depends on which "body of water" and which scale the question intends.