Mushrooms appearing around raised beds can look like tiny garden intruders, especially when a neat vegetable patch suddenly develops a crop of little caps overnight. In most cases, though, those mushrooms point to something much less alarming: moist conditions and fungi breaking down organic material in the soil or mulch. The mushroom itself represents only the visible fruiting body of a much larger fungal network that can live underground.
That distinction matters because a mushroom near a tomato plant does not automatically mean the tomato has a fungal disease. Many fungi in garden soil perform the useful job of decomposing dead leaves, roots, wood, compost and other organic material. Raised beds simply create an especially convenient neighborhood for that activity because gardeners often fill them with rich organic materials and then keep them consistently watered.