Portal 2's co-op worked because you and your partner could not see the same thing. That is the criterion, and most “games like Portal 2” lists ignore it
Here is what actually made that co-op campaign special, and it was not the portals. It was that two people had different information. You stood on one side of a chamber looking at a thing your partner could not see, described it badly, and the two of you argued your way to an answer. That is a conversation game wearing a puzzle game's clothes - and it is the one property almost nothing on a typical “like Portal 2” list has.
So this page is sorted by how two people connect, not by how clever the puzzles look in a trailer. If you want the short answer: We Were Here Forever is the closest anyone has got to Portal 2's co-op campaign - two players, separated for most of the game, each holding half of every puzzle, with a radio between you and crossplay on the Steam listing. Escape Simulator is the pick if what you miss is the endless community chambers, because its listing carries a level editor and cross-platform multiplayer, and It Takes Two is the pick if you want one purchase to cover both players. Everything else here solves a narrower version of the problem.
Four things to check before you buy any co-op puzzle game
1. Online co-op, which some of these simply do not have. This is the expensive mistake in this category, because the store pages look identical until you read the mode list. Unravel Two is the clearest example: Nintendo lists it at 1-2 players on a single system and prints nothing at all in the local or online multiplayer rows, and Steam carries Shared/Split Screen Co-op and Remote Play Together but no Online Co-op flag. It is a same-sofa game. It Takes Two is the opposite - Nintendo lists online 2+, Steam lists Online Co-op - which is why the two of them are worth comparing side by side before you spend anything.
2. Crossplay, which this genre is unusually bad at. Of the picks here, Steam lists Cross-Platform Multiplayer for We Were Here Forever, Escape Simulator and Split Fiction - and does not list it for Portal 2, It Takes Two, Trine 5, Operation: Tango or Unravel Two. If your pair is one PC and one PlayStation, that single line decides the purchase, and the games without crossplay, and what to buy instead is the page that saves you the money.
3. Whether one copy covers both of you. Portal 2 never worked this way, but two games here do: It Takes Two and Split Fictionboth ship a Friend's Pass, so the second player joins free from their own machine. On everything else, two people means two copies - except where you are sharing a couch, in which case one copy and two controllers is enough. Our one copy, two players guide is the full list of which games genuinely stretch a single purchase.
4. Whether your pair will actually talk.Two of the strongest picks here are unplayable in silence by design. We Were Here Forever separates you and hands you a radio; Operation: Tango's own Steam description says you have only your voices to connect you. If one of you is a text-chat person, or you are playing while a baby sleeps, those two are a bad buy no matter how good they are - and games to play with friends without talking is the page you want instead.
“Games like Portal 2 but co-op” - the honest shortlist
There is no second Portal 2, and the reason is worth saying out loud: nobody has made another first-person physics-logic co-op campaign at that budget in fifteen years. What exists instead splits into three shelves. The asymmetric-information shelf keeps the thing Portal 2 co-op was actually about and drops the portals - that is We Were Here Forever and Operation: Tango. The escape-room shelf keeps the puzzle-box feel and the community content - Escape Simulator. The two-player cinematic shelf keeps the production values and the designed-for-exactly-two structure and makes the puzzles gentler - It Takes Two, Split Fiction, Unravel Two. Decide which shelf you are shopping on first; the picks inside each one are much closer to each other than they are to Portal 2.
What each of these is actually for
If you want the Portal 2 co-op feeling back: We Were Here Forever. Two players, split up, each looking at half of a problem, talking it out over a radio. It is the only pick on this page whose Steam listing has no Single-player entry at all, which tells you exactly what it is. Two honest cons: there is nothing to do with it when your partner is unavailable, and it is a game about describing things, so a pair who find that frustrating rather than funny will bounce off it fast.
If what you miss is the Perpetual Testing Initiative:Escape Simulator. Steam calls it a first-person puzzler you can play solo or in online co-op, and its listing carries both a level editor and Cross-Platform Multiplayer - so you get community-made rooms, which is the half of Portal 2's legacy that kept it alive for a decade. The cons: no shared-screen mode on the listing, so everybody needs their own machine and their own copy, and community rooms are wildly uneven - a bad one is genuinely bad.
If you only ever played Portal 2 on your own: buy Portal 2. It is worth saying plainly, because a lot of people searching this have finished the single-player campaign and do not realize the co-op campaign is a separate, substantial, entirely different set of chambers built for two. Steam lists Online Co-op and Shared/Split Screen Co-op for it, and it is the cheapest thing on this page by a wide margin. The con is the one the rest of this list exists because of: the co-op is same-platform only, and it is PC-focused.
If one of you is paying and the other is not: It Takes Two. Friend's Pass means a single purchase puts two people in the game, Nintendo lists it at online 2+ as well as local 2+, and the puzzles are genuinely two-brain - every mechanic needs both of you doing different jobs. Two cons: Steam carries no Cross-Platform Multiplayer flag, so you both need to be on the same platform family, and it is a platformer with puzzles rather than a puzzle game, so the difficulty is nowhere near Portal 2's.
If you are on different consoles:Split Fiction. Same studio, same Friend's Pass idea, and its Steam listing is the one in the Hazelight pair that carries Cross-Platform Multiplayer - which makes it the only cinematic two-player pick here that a PlayStation-and-PC couple can play. The con is that it is the newest and priciest thing on this page, and like It Takes Two it is an adventure with puzzles in it rather than a puzzle campaign.
If there are three or four of you: Trine 5: A Clockwork Conspiracy. This is the only pick that supports every way of playing at once - Steam lists Online Co-op, LAN Co-op and Shared/Split Screen Co-op plus Remote Play Together, and Nintendo ranges it 1-4 players on a single system, locally and online. Each hero carries one tool, so puzzles are solved by combining people. The cons: no cross-platform flag on either listing, and the puzzles are physics sandboxes with several valid answers, which is the opposite of Portal 2's single-solution logic.
If the two of you are in different houses tonight: Operation: Tango. One player is the Agent in the building, the other is the Hacker on a completely different screen, and the only channel between you is your voice. PlayStation lists support for up to 2 online players with PS Plus and Nintendo lists it as online 2+ with no local mode at all. The cons: strictly two players, no couch option whatsoever, and no cross-platform flag on the listings we checked.
If you want the gentlest possible version: Unravel Two. Rated Everyone by Nintendo, listed at 1-2 players on one system, and the calmest two-player puzzle-platformer here. The con is the one that decides the purchase: there is no online co-op listed anywhere, so unless you are on the same sofa or streaming to each other through Remote Play Together, you cannot play it together at all.
If the group is bigger and the mood is sillier: Human: Fall Flat - a physics puzzle sandbox Steam describes as playable solo or with up to 8 players online, with a shared-screen mode as well. It is the loosest fit on this page: the puzzles are suggestions and most of the fun is failure. If you want the thing Portal 2 did, it is not this; if you want eight people laughing, nothing else here scales.