Org design and team structures for engineering organizations
How to structure engineering teams as you grow: team size, span of control and layers, Team Topologies, Conway's law and cognitive load, splitting teams, running a reorganization well, and Sweden's MBL negotiation duty, with an org planner.
Key takeaways
- Design teams around ownership and flow. Structure decides what's easy and what's hard.
- Teams of five to eight, managers with five to eight reports, and as few layers as possible are good defaults.
- Conway's law is real. Your architecture will come to mirror your org chart, so design both together.
- Reorganizations are expensive. Do them rarely, for clear reasons, and communicate them well.
- In Sweden, employers with a collective agreement must negotiate with the union before major changes.
As an engineering organization grows, its structure starts to matter as much as its people. The same engineers can be fast or slow, focused or scattered, depending on how teams are drawn, who owns what and how many layers sit between them and decisions. Yet structure is often an accident of history: teams formed around whoever was available, split when they got too big, merged when a manager left.
This guide covers how to design engineering teams deliberately: team size, span of control and layers, Team Topologies, Conway's law and cognitive load, when and how to split teams, and how to run a reorganization without losing months of productivity. It continues with Alex, who by now leads part of Northwind Cloud's engineering organization of about 60 engineers.
#Start with what you want to optimize
There's no perfect structure, only trade-offs. Before redrawing boxes, decide what matters most right now:
- Speed of delivery for customer-facing products
- Ownership that's clear and end to end
- Reliability of critical systems
- Efficiency through shared platforms
- Growth of people and leaders
- Focus on a new strategic area
A structure optimized for one of these often costs another. Platform teams improve efficiency but can slow product teams if they become gatekeepers. Many small teams improve ownership but increase coordination.
#Team size
Most engineering teams work best with five to eight engineers, often summarized as Amazon's "two-pizza team". Small enough that everyone knows what everyone else is doing, large enough to own something meaningful, survive holidays and departures, and include a mix of experience.
- Below four, teams are fragile: one absence stalls them, and there's little room for pairing or review.
- Above nine or ten, communication paths multiply, meetings grow, and sub-groups form anyway. It's time to split.
#Span of control and layers
Span of control is the number of direct reports per manager. For engineering managers, five to eight engineers is a common range; for managers of managers, four to six managers.
Spans and layers are linked. With the same number of engineers, narrower spans mean more managers and more layers:
Every layer has costs: decisions take longer, information is filtered at each step, and engineers feel further from leadership. Keep layers to the minimum that keeps spans healthy.
Try it with your own numbers. The defaults are Northwind's: 60 engineers, teams of seven, seven reports per manager and five managers per leader.
With those defaults, Northwind needs 9 teams, 9 engineering managers, 2 managers of managers and a head of engineering: three management layers. At 120 engineers, the same spans give 18 teams and four managers of managers, still three layers. At around 250 engineers, a fourth layer appears. The planner also has its own page: the org planner.
#Team Topologies
Matthew Skelton and Manuel Pais's Team Topologies gives a practical vocabulary for team design. It describes four team types:
- Stream-aligned teams own a flow of work for a product, customer segment or user journey, end to end. Most teams should be this type.
- Platform teams provide internal services, such as deployment, observability or data infrastructure, that make stream-aligned teams faster.
- Enabling teams help other teams adopt new skills or practices, then step back.
- Complicated-subsystem teams own components that need deep specialist knowledge, such as a payment risk engine or video encoding.
And three ways teams interact:
- Collaboration: working closely together for a period, such as during discovery.
- X-as-a-service: one team consumes another's service with minimal coordination.
- Facilitating: one team helps another learn.
Most friction between teams comes from unclear interaction modes: a platform team that thinks it's providing a service while product teams expect collaboration, or vice versa. Make them explicit.
At Northwind, the Payments, Checkout and Refunds teams are stream-aligned. When all three kept building their own integrations with card processors, Alex and peer leaders created a small payments-platform team to own the shared integration layer as a service, freeing the three teams to focus on their customers.
#Conway's law and cognitive load
Conway's law observes that systems end up mirroring the communication structure of the organization that builds them. If three teams build a system, it tends to become three components with interfaces where the teams meet.
Two practical lessons:
- Design teams and architecture together. If you want independent services, you need independent teams to own them. The deliberate use of this is called the inverse Conway maneuver.
- Expect reorganizations to change your architecture over time, intended or not.
Cognitive load is how much a team must hold in its heads to do its work: domains, services, technologies, processes. When it's too high, quality and speed fall, and on-call becomes exhausting. Signs include a team owning many unrelated services, constant context switching, and nobody fully understanding any area. Fix it by reducing scope, improving platforms, or splitting the team, rather than adding people to an overloaded team.
#When and how to split a team
Signs a team should split:
- more than nine or ten engineers
- two or more distinct streams of work with different customers or rhythms
- planning and stand-ups where most people aren't involved in most topics
- slow decisions and unclear ownership inside the team
How to split well:
- Find the natural seam: by product area, customer journey or service boundary, not by technology layer (front end and back end), which creates handoffs.
- Make each new team stream-aligned where possible, owning outcomes end to end.
- Divide ownership explicitly: services, on-call, backlog.
- Involve the team in deciding the split, and let people express preferences.
- Give each new team a leader: an engineering manager, or a tech lead with a shared manager. See from one team to many.
#Reorganizations
A reorganization changes team structures, reporting lines or ownership. Reorgs are expensive: relationships break, context is lost, and productivity often drops for months. Many organizations reorganize too often, chasing problems that structure can't solve.
Reorganize when:
- the structure clearly blocks the strategy, such as a new product with no natural home
- ownership is so tangled that teams can't move independently
- spans or layers have become unhealthy
- teams are overloaded beyond what scope changes can fix
Don't reorganize to fix a problem that's really about one person, a missing process, or unclear priorities.
#Running a reorg well
- Be clear about the problem you're solving, and write it down.
- Design with a small group of leaders, then test the design with more people before deciding.
- Consider people individually: where will each person go, and what does it mean for them?
- Consult employee representatives where required (see below).
- Announce once, clearly, with the reasons, the new structure, what changes for whom and when. Tell directly affected people individually, before the announcement.
- Answer questions openly, with an FAQ and open sessions.
- Follow through: new ownership documented, on-call handed over, managers and teams supported in the first months.
- Review after three to six months: did it solve the problem?
#Sweden: MBL and union consultation
Note In Sweden, the Co-determination in the Workplace Act (MBL) requires an employer bound by a collective agreement to negotiate with the union, on its own initiative, before deciding on important changes to the business or to employees' working conditions, such as a reorganization, a new manager or redundancies (MBL 11 §). Only exceptionally urgent reasons allow deciding first. Employers without a collective agreement have narrower negotiation duties, for example in redundancy situations. Failing to negotiate can lead to damages. Plan time for negotiation into any reorganization timeline, and involve HR early. Other EU countries have their own information and consultation rules, often through works councils.
Redundancies follow additional rules under LAS, including seniority order (turordning), with up to three exemptions per employer since 2022. The performance management guide summarizes them.
#Example: splitting the Payments team
By its second year, the Payments team had grown to eleven engineers. Planning took half a day, stand-ups ran over twenty minutes, and on-call covered so many services that nobody knew all of them.
Alex and the team looked for a natural seam. Two streams of work stood out with different customers and rhythms: payment processing (the payment API, card processors, the ledger), used by every customer at checkout, and refunds and disputes, used mainly by merchants' support teams, with its own roadmap.
The split:
- Payments (six engineers): payment API, processor integrations, ledger. Sam stayed as tech lead.
- Refunds (five engineers): refund service, disputes, merchant tooling. Priya became its engineering manager, with a tech lead from the team.
- Shared: the ledger stayed with Payments; Refunds consumed it as a service, with a documented API and a monthly sync.
- On-call split along the same lines, with a shared escalation path for incidents touching both.
The team chose the split themselves in a workshop, and most people got the team they preferred. Within two months, both teams' lead times had fallen, and planning took an hour each.
#Common mistakes
- Structure by accident: teams formed around whoever was available.
- Splitting by technology layer, creating handoffs.
- Too many layers, or managers with too many reports.
- Ignoring Conway's law and expecting architecture to stay independent of structure.
- Overloading teams instead of reducing their scope.
- Frequent reorgs to fix non-structural problems.
- Announcing reorgs badly: rumors first, details later.
- Forgetting consultation duties.
#Checklist
- Every team has clear ownership of services and outcomes.
- Teams have five to eight engineers, or a plan to get there.
- Managers have healthy spans, and we have as few layers as possible.
- Team types and interaction modes are explicit.
- We consider architecture when we design teams, and the reverse.
- Any planned reorganization has a written problem statement and a communication plan.
- HR is involved early, and consultation requirements are planned in.
Next: running an engineering org.
General information, not legal advice. Employment law differs by country; involve HR and legal for performance and dismissal processes.
Keep reading
A practical guide for engineering managers to the conversations everyone dreads: underperformance, conflict between colleagues, bad news, behavior issues, strong emotions and layoffs, with scripts, a preparation template and EU/Sweden notes.
How engineering managers manage performance fairly: clear expectations, continuous feedback, performance reviews, calibration, diagnosing underperformance, improvement plans (PIPs) done well, and the Swedish rules under LAS.
The hiring manager's guide to recruiting software engineers: defining the role, sourcing, the hiring funnel, working with recruiters, interviews, offers and closing, diversity, hiring metrics, and EU/Sweden rules on discrimination and candidate data.