Does a straight flush beat two pair?

Yes. A straight flush beats two pair in poker — every time. In the ranking of 10 hand categories, straight flush is #2 and two pair is #8. Categories are compared first: even a five-high straight flush beats aces and kings — the category always decides first.

#2
Straight Flush — wins

Five cards in a row, all one suit.

9♥8♥7♥6♥5♥
#8
Two Pair — loses

Two different pairs.

A♠A♦9♣9♥5♠

How rare is each hand?

Rarity is exactly why the order is what it is. Out of 2,598,960 possible five-card hands, a straight flush shows up in 0.00139% of them (36 combinations), while two pair appears in 4.75% (123,552 combinations). The harder a hand is to make, the higher it ranks.

Does two pair ever beat a straight flush?

No — never. The category comparison is absolute: the highest possible two pair still loses to the lowest possible straight flush. Ranks inside a category only matter when both players hold the same category.

Prove it to yourself

Which hand wins? Tap it.

More matchups