Contracts, IP and NDAs When Hiring Freelance Developers Abroad: A Founder's Checklist
By DevDey Editorial Team · September 17, 2026 · 5 min read
The first time most founders hire a developer in another country, they either skip the paperwork entirely or copy a forty page template they never read. Both are mistakes. A freelance engagement needs a short agreement that answers five questions before the first commit, and the answers matter more than the legal wording around them. This is not legal advice. It is the checklist we see working for founders hiring developers in Ghana, Nigeria, Kenya and beyond.
1. What exactly is being built, and how do we know it is done?
Scope disputes cause more failed contracts than payment disputes. Write down the deliverables in plain language, list what is out of scope, and define what done means for each milestone. A milestone that reads deploy the checkout flow to staging with passing tests is something both sides can point at. Build the payment feature is not.
For longer engagements, agree a scope for the first two to four weeks and a process for adding work after that. Nobody can specify six months of software up front, and pretending otherwise just moves the argument to later.
2. Who owns the work?
This is the clause founders most often forget, and it is the one that hurts most. In many countries the developer who writes the code owns the copyright by default. If the contract does not assign it to you, you may have paid for software you do not legally own.
Include an IP assignment clause stating that all work product, code, designs and documentation created under the agreement are assigned to your company. Make the assignment effective as work is paid for, which is fair to both sides: they are not handing over unpaid work, and you are not waiting until the end to own anything. Carve out any open source libraries and any pre existing tools the developer brings, which they license to you rather than assign.
3. What stays confidential?
A confidentiality clause inside the main agreement usually does the job of a separate NDA. Define confidential information narrowly: customer data, unreleased product plans, financials, credentials. Set a term, typically two or three years after the contract ends. Keep the obligations mutual, since the developer will be sharing their own methods and rates with you.
Remember what confidentiality does not do. It does not stop a developer from working for another company in your industry, and trying to add a non compete to a freelance contract is both hard to enforce and a reliable way to lose good candidates.
4. How and when is payment made?
State the rate or fixed price, the currency, the payment method and the timing. Milestone payments within a few days of acceptance are the norm for project work. For ongoing hourly work, weekly or fortnightly invoices keep both sides honest and keep any disagreement small.
On DevDey the rate is agreed directly between you and the talent and paid directly, with no commission taken from either side, so the number in the contract is the number the developer receives. Whatever platform or method you use, write the actual method into the agreement so there is no surprise about fees or timing later.
Tip: Set up the repository, the cloud accounts and the project tracker under your own company ownership before the developer starts, then invite them as a collaborator. Ownership of the accounts is the strongest protection you have, and it costs nothing.
5. How does either side leave?
Every agreement needs a termination clause that works without a fight. A common arrangement for ongoing work is that either side can end the engagement with one or two weeks of written notice, with payment for work completed up to that date and handover of all work in progress. For fixed projects, describe what happens if a milestone is rejected: a defined revision round, then the right to end the contract and pay only for accepted milestones.
A calm exit clause is not a sign of distrust. It is what lets both sides commit fully, because neither is trapped.
What about governing law and disputes?
Pick your own jurisdiction for governing law. Then accept an honest truth: pursuing an individual freelancer across borders is slow and expensive, and almost nobody does it. Your real protection is structural. Pay for delivered work, keep the code in your repository, rotate credentials when someone leaves, and keep milestones small enough that the maximum loss from a bad week is one week.
The contract is not what protects you. Small milestones, your own repository and paying for accepted work protect you. The contract just writes that down.
A two page agreement beats a forty page one
Long templates get skipped, both at signing and when a question comes up. A short agreement that both sides actually read gets followed. Cover the five questions above, add the parties, the dates and a signature line, and you have something a developer in Accra and a founder in Berlin can both understand without a lawyer.
- Scope and definition of done, per milestone.
- IP assignment on payment, with open source and pre existing tools carved out.
- Mutual confidentiality with a defined term.
- Rate, currency, method and timing of payment.
- Notice period, handover and what happens on a rejected milestone.
Start the engagement on the right footing
Browse developers on DevDey, read their full profiles and rates, and agree terms directly in messages before any work starts. If you are hiring for the first time, Paid Trial Projects: The Smartest Way to Hire Developers pairs well with this checklist, and posting a job is free.
Frequently asked questions
Do I need a lawyer to hire a freelance developer in Africa?
For most contract work, no. A clear written agreement covering scope, payment, IP assignment, confidentiality and termination is enough, and plenty of founders use a two page template. Get a lawyer involved when the work touches regulated data, when equity is on the table, or when the contract value is large enough that a dispute would hurt.
Who owns the code a freelancer writes for me?
Whoever the contract says. In many countries the person who writes the code owns the copyright by default unless they assign it in writing. Put an explicit IP assignment clause in the agreement, make it effective on payment, and keep the code in a repository you control from day one.
Is an NDA enough to protect my idea?
An NDA protects specific confidential information you share, such as customer lists, unreleased features or financials. It does not protect a general idea, and it does not replace an IP assignment for the work itself. Use both, keep the NDA short, and only mark things confidential that genuinely are.
Which country's law should the contract use?
Most founders choose their own jurisdiction because that is where they could enforce a judgment. In practice, cross border enforcement against an individual freelancer is slow and rarely worth it, which is why milestones, repository control and paying for delivered work protect you far better than the governing law clause does.