Flowering plants (angiosperms) as a whole are neither uniformly dioecious nor uniformly monoecious: both conditions occur, along with a third common condition, cosexuality (hermaphroditism), in which a single flower has both functional stamens and a functional pistil; the question is best answered by distinguishing these sexual systems species by species, and even within one species the answer can depend on whether flowers, individuals, or populations are being described.

The three basic arrangements, defined precisely

The confusion in the question usually comes from mixing two levels of description: the flower and the individual plant.

A hermaphroditic (perfect, bisexual) flower has both male and female reproductive parts that function. Most familiar garden flowers—roses, lilies, tulips, petunias, tomatoes—have flowers of this kind. A plant whose flowers are all hermaphroditic is often called cosexual or simply hermaphroditic. A monoecious species has separate male and female flowers on the same individual plant. The word comes from Greek roots meaning "one house." Maize (Zea mays) is the classic example: the tassel at the top is male, the ear with silks lower on the stalk is female, both on one plant. Squashes and cucumbers (Cucurbita and Cucumis) are monoecious, as are many oaks and pines among non-flowering seed plants—though pines are gymnosperms, not angiosperms, a distinction worth keeping straight. A dioecious species has male and female flowers on different individual plants—literally "two houses." Holly (Ilex), date palm (Phoenix dactylifera), kiwifruit (Actinidia), spinach (Spinacia oleracea), asparagus, and willows are standard examples. In dioecious plants, a plant is functionally male or female, and you need both sexes to get fruit or seed.

Dioecy and monoecy are therefore not opposites of each other in a two-way split of all flowering plants; they are two alternatives within a larger scheme that also includes ordinary hermaphroditism. Treating the question as "which one are flowering plants?" is like asking whether animals are male or female—the categories describe individuals and species, not the whole group.

Why "dioecious or monoecious" is a false dichotomy

The implied choice misses the majority condition. A great many angiosperm species bear perfect flowers, making them neither dioecious nor monoecious in the strict sense. Botanists often describe this using sex expression categories:

Condition Flowers on one plant Where the sexes are
Hermaphroditic (cosexual) All perfect Both in every flower
Monoecious Separate male and female flowers Same plant
Dioecious Separate male and female flowers Different plants
Gynodioecious Female plants plus hermaphroditic plants Mixed
Androdioecious Male plants plus hermaphroditic plants Mixed
Polygamomonoecious / polygamous Perfect, male, and female flowers mixed Same plant or species-level mix

The last rows matter because real species blur the categories. Some plants produce perfect flowers plus separate male or female flowers on the same individual—polygamous or polygamomonoecious species such as some maples and ashes. Others are subdioecious, with a few perfect-flowered individuals alongside male and female ones. And some species are gynomonoecious or andromonoecious, bearing perfect flowers together with female-only or male-only flowers on the same plant—common in the aster family (Asteraceae) and in some Solanaceae.

Practical garden consequences

For a gardener, the distinction has direct consequences that the abstract question hides.

Dioecious plants require a pollinator partner of the opposite sex. A single female holly will flower but not set the familiar red berries without a nearby male. Kiwifruit is the same: a lone female vine produces fruit only if a male vine blooms within pollination distance, and the male does not fruit. This is why nurseries label kiwifruit and holly by sex. A gardener who buys one "holly" and wonders about the missing berries has usually bought a female without a male nearby—or a male, which never bears berries.

Monoecious plants fruit on their own. A single maize plant, cucumber vine, or squash plant carries both flower sexes and can set seed or fruit without a second plant, though pollination still requires wind or insects to move pollen between the male and female flowers. Container gardeners growing a single cucumber sometimes see female flowers drop before fruit set; the usual cause is poor pollination or a lack of male flowers opening at the same time, not dioecy.

Hermaphroditic plants are self-sufficient in principle but not always in practice. A perfect flower can self-pollinate or receive pollen from another flower, but many species have self-incompatibility systems that prevent self-fertilization. Apples and pears have perfect flowers yet usually need a different cultivar nearby to set good fruit—a pollination requirement that has nothing to do with being dioecious.

Ambiguities the question leaves open

Two unknowns deserve naming. First, the question does not specify a plant group: "flowering plants" could mean angiosperms as a whole, a particular family, or a particular garden species. The answer changes completely at the species level—tomatoes are hermaphroditic, spinach is dioecious, maize is monoecious. Second, "monoecious" and "dioecious" are sometimes used loosely for whole populations or for the presence of separate male and female flowers, which can make a species sound dioecious when only some individuals are single-sexed. The strict definitions above (individual plant level) are the ones to rely on.

A further ambiguity: dioecy is not the same as "having male and female flowers." A monoecious plant also has male and female flowers; the difference is whether they sit on the same plant. And hermaphroditism is not the same as self-fertility—a perfect flower may still be self-incompatible.

Where the categories stop applying

The scheme is most reliable for seed plants with clearly separate flower sexes. It becomes awkward for:

Plants with mixed sex expression within one individual (polygamous species), where a plant may be neither strictly monoecious nor dioecious. Species that change sex with age, size, or environment—some plants are sequential hermaphrodites or shift from male to female function, so a single individual's category depends on when you look. Apomictic or vegetatively propagated plants, where sex is irrelevant to how the gardener multiplies them (a female holly propagated from cuttings remains female; a male remains male). Cultivars selected for one sex, such as all-female cucumber or spinach lines bred for higher yield; these are still members of a dioecious or monoecious species but behave differently in the garden from wild-type plants.

How to tell which you have

The reliable way to classify a plant is to examine its flowers directly. Look for stamens (pollen-bearing) and a pistil with a stigma (pollen-receiving) in the same flower. If both are present and functional, the flower is perfect. If a plant bears only staminate flowers, it is functionally male; only pistillate flowers, functionally female. If one plant bears both kinds, it is monoecious; if separate plants bear one kind each, the species is dioecious. For garden planning, the practical question is simpler than the botanical one: does this plant need a partner to fruit? Dioecious species generally do; monoecious and hermaphroditic ones generally do not, though self-incompatibility can still require a second cultivar.

Bottom line

Flowering plants are not categorically dioecious or monoecious. Hermaphroditic flowers are widespread and arguably the default condition; monoecy and dioecy are two additional, common sexual systems, and many species sit in intermediate categories. The useful answer for a gardener is to identify the species—and, for dioecious kinds such as holly, kiwifruit, date palm, spinach, and asparagus, to identify the sex of the individual plant—because that determines whether a pollinator partner is needed.