Home / Blog / Do I Own the Code I Wrote for a Client? Who Owns Source Code Under Nigerian Law?
Legal November 30, 2026 · ⏱️ 8 min read · 💬 0 comments

Do I Own the Code I Wrote for a Client? Who Owns Source Code Under Nigerian Law?

Discover who legally owns software source code under Nigerian copyright law, how freelance contracts alter IP rights, and what global tech founders must know.

👨‍💻
Abdulsamad Usman
Author · SparkleCharge
Do I Own the Code I Wrote for a Client? Who Owns Source Code Under Nigerian Law?

📑 Table of Contents

Executive Key Takeaways (TL;DR):
  • Under Nigerian law, copyright in source code automatically vests in the human author by default, unless created under an employment contract or explicit assignment.
  • Commissioning code independently does not automatically transfer copyright to the client; a signed written assignment is legally mandatory under Section 11 of the Copyright Act.
  • CTOs and technical founders face extreme commercial risk if freelance agreements lack explicit intellectual property assignment clauses.
  • Global software development requires careful cross-border choice of law to prevent foreign clients from claiming implied IP ownership.

Introduction: The Midnight Code Ownership Nightmare

Imagine this: You spent three grueling months architecting a high-performance, containerized microservice backend for a Lagos-based fintech startup. The project launches successfully, processing millions in transactions. Suddenly, the client falls out with your development agency over milestone payments and threatens to lock you out of the repository, claiming that because they paid for the project, they own every single line of code. Who actually owns the software source code under Nigerian law?

For CTOs, senior software engineers, and technical founders operating in Nigeria's booming digital economy, software is your most valuable corporate asset. Yet, code ownership is one of the most misunderstood areas of technology law. Misunderstanding the statutory baseline can result in catastrophic loss of intellectual property, failed venture capital due diligence, and crippling commercial litigation.

In the landmark Nigerian copyright dispute of Microsoft Corporation v. Franike Associates (and similar commercial IP cases adjudicated before the Federal High Court of Nigeria), the judiciary has consistently affirmed that intellectual property rights do not transfer automatically through financial compensation alone. In typical software development arrangements, digital agencies or freelance engineers often hand over GitHub repositories assuming the client owns the copyright, only to realize years later during an acquisition audit that they never executed a valid deed of assignment.

In tech ecosystems globally—from Nigeria to the United Kingdom and the United States—the default statutory rule consistently protects the creator of the work. If your agency builds a bespoke SaaS product for a client without a meticulously drafted master services agreement (MSA) containing a robust IP assignment clause, you may retain the underlying copyright, leaving the client with merely an implied license to use the software. Conversely, if you are a freelance developer working without a contract, you might be shocked to learn that your client does not own the code they paid for—meaning they cannot legally resell, modify, or license it without your future written authorization.

The Law & Regulatory Analysis

Source code ownership under Nigerian law is primarily governed by the Copyright Act, 2022 (which repealed the Copyright Act Cap C28 LFN 2004). Under Section 10 and Section 28 of the Copyright Act 2022, computer software (computer programs) is explicitly protected as a literary work.

Section 28 outlines the baseline rule of authorship and initial ownership: copyright vests initially in the author. Section 11 governs works made in the course of employment, dictating that where a work is authored by an employee in the course of their regular employment, the copyright vests in the employer, unless there is an agreement to the contrary. However, this employment exception does not automatically apply to independent contractors, freelancers, or external software development agencies. For commissioned works, the independent developer remains the first owner of the copyright unless there is a signed, written agreement explicitly assigning the copyright to the client.

B. Judicial Authorities and Interpretation

Nigerian courts adhere strictly to statutory text regarding writing requirements for IP transfers. Under Section 30(3) of the Copyright Act 2022, an assignment of copyright is invalid unless it is put in writing and signed by or on behalf of the assignor. Persuasive common law authorities from Commonwealth jurisdictions—such as the UK Supreme Court principles on contract interpretation and implied terms—are frequently invoked by Nigerian commercial courts when determining whether an implied license to use software exists in the absence of an express written assignment.

C. Regulatory Framework and Enforcement

The primary regulatory body enforcing copyright compliance and tackling software piracy in Nigeria is the Nigerian Copyright Commission (NCC). Established under the Copyright Act, the NCC possesses administrative and enforcement powers, including the authority to inspect premises, seize infringing software copies, and prosecute copyright violations. While the NCC focuses heavily on commercial software piracy, civil enforcement of source code ownership disputes remains the domain of the Federal High Court of Nigeria, which holds exclusive jurisdiction over copyright infringement and intellectual property litigation.

D. International and Comparative Law: Nigeria vs. US and UK

Understanding how Nigeria compares to global tech hubs is vital for cross-border engineering teams:

  • United States: Operates under the "Work Made for Hire" doctrine (17 U.S. Code § 101). If code is commissioned under a written agreement specifying it as a work made for hire, or created by an employee, the client/employer is legally considered the author from inception.
  • United Kingdom & Nigeria: Both jurisdictions reject the automatic "work made for hire" concept for independent contractors. Independent developers own their source code by default, requiring an explicit written assignment to transfer ownership to the client.
Jurisdiction Primary Legal Authority Default Ownership Rule for Contractors Requirement for Transfer
Nigeria Copyright Act 2022 (Sec. 11 & 28) Developer / Author retains copyright Signed written Deed of Assignment (Sec. 30(3))
United Kingdom Copyright, Designs and Patents Act 1988 Freelancer / Developer retains copyright Signed written assignment / Exclusive license
United States 17 U.S. Code § 101 & § 201 Varies; "Work Made for Hire" applies if statutory criteria met Written agreement specifying "work made for hire"

If a developer uses proprietary source code built for Client A in a project for Client B without an explicit assignment or open-source license, they face civil liability for copyright infringement, breach of contract, and potential breach of confidentiality obligations. Conversely, clients who modify code without owning the underlying copyright risk injunctions and damages. The standard of proof in civil IP claims requires the plaintiff to prove ownership of a subsisting copyright and unauthorized exploitation by the defendant.

The Takeaway: Actionable Compliance Playbook for Tech Leaders

Whether you are a startup founder commissioning an external agency or a senior engineer building products for global clients, implement this actionable checklist immediately:

  • Audit Your Repositories: Review all past and present freelance contracts, master service agreements, and statements of work (SOWs) to verify whether explicit IP assignment clauses exist.
  • Insert Ironclad IP Clauses: Ensure every engineering contract includes explicit language stating that all intellectual property, source code, documentation, and derivative works created during the engagement constitute "works assigned to the client upon full payment."
  • Manage Open-Source Dependencies: Clearly delineate proprietary source code from open-source libraries (e.g., MIT, GPL, Apache 2.0) to prevent licensing contamination and accidental forfeiture of proprietary rights.
  • Execute Written Deeds of Assignment: Never rely on oral agreements, informal Slack approvals, or email confirmations. Execute formal, signed written assignments for all custom software development.
// Sample Contract Clause: Intellectual Property Assignment
"The Developer hereby irrevocably assigns, transfers, and conveys to the Client all right, title, and interest worldwide in and to the Source Code, Documentation, and all associated Intellectual Property Rights arising therefrom, upon receipt of full and final payment as specified in the Statement of Work."

Disclaimer: This article is for informational and educational purposes only, does not constitute legal advice, and is not a substitute for formal legal counsel from a qualified technology lawyer licensed in your jurisdiction.


Frequently Asked Questions (FAQ)

Who owns software source code by default under Nigerian law?

Under the Nigerian Copyright Act 2022, copyright in software source code automatically vests in the human author (the developer) by default, unless created by an employee in the course of employment.

Does paying a freelance developer mean the client automatically owns the code?

No. Financial payment alone does not transfer copyright under Nigerian law. A signed, written assignment agreement is legally required to transfer software ownership from an independent contractor to a client.

What is the difference between an employee and a contractor regarding source code ownership?

For employees, copyright in code created during regular employment vests in the employer by default. For independent contractors and agencies, copyright remains with the contractor unless explicitly assigned in writing.

Startups must execute a comprehensive Master Services Agreement (MSA) or Statement of Work (SOW) containing explicit intellectual property assignment clauses and warranties before engineering work begins.


🚀 Build & Scale with SparkleCharge: Ready to architect, scale, or automate your production software platform? Partner with SparkleCharge engineering for high-availability full-stack systems. Schedule an Engineering Consultation or explore our Enterprise Technical Services.

TAGS: #intellectual property #freelance contracts #source code ownership #software copyright #nigerian copyright law
Share this publication:
👨‍💻

Abdulsamad Usman

Engineering & Architecture

Lead Full-Stack Engineer and Cloud Architect specializing in distributed systems, real-time web telemetry, and resilient web design. Building modern systems that scale seamlessly.

💬 Reader Discussion 0

Leave a Comment ↓
💭

No comments yet

Be the first to join the conversation and share your feedback on this article!

Leave a Reply

Your email address will not be published. Required fields are marked *.

Recommended Reading

Related Articles

All Publications →
Legal

Can a Client Force You to Sign an NDA After Work Is Completed?

Can a client force a retroactive NDA or hold payment after project completion? Discover legal rules on past consideration, duress, and IP ownership.

Legal

Selling WordPress Website on Flippa: Legal + Database Handover Checklist Before Transfer

A legally rigorous guide for CTOs and founders selling WordPress sites on Flippa, covering database PII sanitization, GPL compliance, and Asset Purchase Agreements.

Legal

No Contract, No Code: 7 Essential Freelance Developer Contract Clauses Every Engineer Needs

Protect your IP and guarantee payment. Discover the 7 contract clauses every freelance developer must include before writing a single line of code.

Legal

Can I Legally Sell a Client's Failed Startup Idea to Someone Else?

Discover the legal risks, IP ownership rules, and NDA implications of repurposing or selling a failed client startup idea across global jurisdictions.

READY FOR PRODUCTION CONTRACTS

Looking to build high-performance systems?

Whether you need architectural direction or security audit consulting, I'm ready to collaborate.

Start a Conversation → View Production Demos