A Great Dane is a famously good apartment dog. A Jack Russell is a famously bad one. If that surprises you, you are thinking about the wrong variable.
Space is not what makes a dog viable indoors. Energy, boredom tolerance, and noise are. A big calm dog sleeps eighteen hours a day and takes up a rug. A small anxious one barks at every footstep in the corridor and destroys the apartment by Thursday.
So: twelve things that actually make it work.
1. Give them one defined place that is theirs
In a small apartment, a dog with no assigned spot ends up underfoot everywhere, which is stressful for both of you. Give them a bed that is unambiguously theirs, in a corner with a view of the room but out of the traffic line.

For a big dog, this needs to be big — a dog curled onto a too-small bed with their hindquarters on cold floor has not been given a bed. An oversized floor lounger is the honest answer for a large dog in a small space, and it doubles as a place for you to sit, which is how you win back the sofa. The rest of the large dog beds are here.
2. Tire the brain, not just the legs
This is the whole game. A physically exercised dog with a bored brain is a dog who chews the baseboard. Mental work exhausts a dog far faster than a walk, and it fits in an apartment.

Feed meals out of a puzzle feeder instead of a bowl. Scatter kibble in a towel and let them find it. Teach a new trick — genuinely, fifteen minutes of learning something new will flatten a dog. We have a longer list in eleven ways to tire out a dog without leaving the house.
3. Solve the exercise floor, not the exercise time
The hardest days are rain, ice, illness, and the weeks you are working late. Those are the days the dog does not get out, and those are the days the apartment suffers.

A dog treadmill is an unglamorous but genuinely effective backstop — twenty minutes on it covers the day you could not walk them. The quieter adjustable-speed version is the one to get if you share walls, because noise is the currency you cannot afford to spend.
4. Take the noise seriously — before a complaint arrives
Barking is what gets dogs evicted, not size. And the most common cause in an apartment is entirely specific: the dog hears people in the corridor, cannot see them, and alerts.
Fixes, in order: block the sightline to the front door, put a white-noise machine or a radio near it, and — crucially — stop rewarding the alert by rushing over. Most corridor barking is a dog doing a job nobody asked for. Give them a different job.
5. Protect the floor before you need to
Deposits are lost over floors. A waterproof absorbent pad under the water bowl and by the door — where wet paws land — costs less than one repair and saves the boards.

6. Go vertical with storage, not with the dog
Dog kit expands to fill available space: leads, coats, food, toys, towels. In a small apartment this becomes visual chaos, and visual chaos is what makes a space feel too small. One cupboard, one box, one hook. Decide where it lives on day one.
7. Crate-train, genuinely
A crate is not a cage if it is introduced properly — it is a den, and for a dog in a busy small space it is often the only place they can genuinely switch off. A foldable crate is the practical choice: it is a den at home, it is the safe way to move them in a car, and it folds flat against a wall when you have guests.

The rule that makes it work: never use it as punishment, ever. Feed them in it. Leave the door open. It becomes theirs within a week.
8. Walk with intent
Three brisk laps of the block will do less than one twenty-minute walk where the dog is allowed to sniff everything. Sniffing is cognitive work; a "sniffari" is the highest-value walk you can give a apartment-bound dog, and it takes no more of your time.
9. Sort the toilet situation honestly
No garden means every toilet break is a full expedition — shoes, lift, street. Which means, on bad days, it gets delayed, and delaying is how you get accidents and UTIs.

Be realistic about the schedule you can actually keep. And keep waste bags by the door, in the coat pocket, and in the leash bag — the one time you are caught without is the time it matters socially, and flats run on neighbor goodwill.
10. Give them a window
Not for the view — for the light and the low-grade stimulation. A dog who can watch the street is a dog with something to do. The exception is the reactive dog, for whom a window is a barking trigger and should be frosted or blocked. Know which dog you have.
11. Feed them somewhere they are not in the way
In a galley kitchen, a big dog eating is a full roadblock. Move the bowls out of the traffic line — a corner, a hallway, anywhere the dog is not being stepped over mid-meal, which is a genuine source of food guarding.
12. Accept the actual constraint
You can make almost any dog work in almost any flat, with one honest exception: if you are out ten hours a day, a small apartment and a high-energy dog is not a setup you can engineer your way out of. That is not a gear problem. That is a dog-walker, a daycare, or a different dog.
Everything else on this list is solvable. That one is not, and it is kinder to know it.
More reading: tiring out a dog indoors · 5 things for a dog home alone all day