Written and maintained by CASRAI Editorial Board
Published · Last updated
On this page
A data sharing agreement template needs, at minimum, the parties, a data description, permitted uses, security and breach notice, publication rights, ownership, term and destruction, liability and governing law. The clause-by-clause example below shows each one, and the sections after it add what HIPAA, GDPR and the UK ICO require.
Search demand for a “data sharing agreement template” is high because research-contracts and sponsored-programs offices are repeatedly asked to produce one quickly, but as CASRAI’s guide to data sharing agreements between collaborators and institutions explains, no single universal template works across every institution, funder, and jurisdiction. This page fills a different, narrower need: a concrete, clause-by-clause illustrative example of what a generic, reusable DSA skeleton actually looks like, so that a research administrator drafting one from scratch has a structural starting point rather than a blank page.
When a generic template is (and isn’t) the right starting point
A generic DSA skeleton is genuinely useful for three situations: orienting a new research administrator to what a DSA typically contains before their first negotiation; giving two collaborating labs or offices a shared vocabulary to negotiate from, rather than starting from nothing; and drafting an internal discussion draft to hand to the institution’s contracts office as a starting point rather than asking that office to build one from a blank page. It is not a substitute for institutional review, and it should not be used as-is for any agreement involving personal data, protected health information, export-controlled data, or Indigenous data — those each trigger obligations (GDPR, HIPAA, EAR/ITAR, or the CARE Principles for Indigenous Data Governance) that a generic template cannot responsibly pre-answer. See CASRAI’s guide to GDPR data protection compliance in research and the HIPAA Privacy Rule entry for what those specific obligations add on top of the generic structure below.
Illustrative generic data sharing agreement — clause by clause
The clauses below follow the same five core areas CASRAI’s DSA guide identifies (ownership, permitted use, security and privacy, publication rights, and retention/destruction), plus the surrounding contract mechanics — parties, term, liability, and signatures — that turn those provisions into an executable agreement.
1. Parties and effective date
Identifies the two (or more) institutions entering the agreement — not the individual researchers — and the date the agreement takes effect. As CASRAI’s DSA guide notes, a DSA is normally executed at the institutional level, with a research-contracts or sponsored-programs office signing on the institution’s behalf.
Illustrative clause: “This Data Sharing Agreement (“Agreement”) is entered into as of [EFFECTIVE DATE] (“Effective Date”) by and between [PROVIDING INSTITUTION], having its principal address at [ADDRESS] (“Provider”), and [RECEIVING INSTITUTION], having its principal address at [ADDRESS] (“Recipient”), collectively the “Parties.””
2. Background / recitals
A short, non-binding statement of context: the underlying project or grant, the Parties’ roles, and the general purpose of the data exchange. Useful for interpreting ambiguous clauses later, but it does not itself create obligations.
Illustrative clause: “WHEREAS Provider has collected certain research data in connection with [PROJECT NAME/GRANT NUMBER]; and WHEREAS Recipient wishes to receive and use such data for the Permitted Purpose described in Section 4 below; NOW THEREFORE the Parties agree as follows:”
3. Definitions
Defines the core terms used throughout the agreement precisely enough that “Shared Data” and “Permitted Purpose” can’t be argued about later. At minimum, a working template should define what counts as the dataset itself, what counts as a derivative or downstream work product, and what the approved use case is.
Illustrative clause: ““Shared Data” means the dataset(s) described in Exhibit A, together with any documentation, codebooks, or metadata provided alongside it. “Permitted Purpose” means the specific research use described in Exhibit B. “Derivative Data” means any new data, analysis, or output created by Recipient using the Shared Data.”
4. Data description
Describes exactly what is being shared — typically as a schedule or exhibit rather than in the body of the agreement, since the dataset description often changes independently of the legal terms. Should specify format, volume, whether it contains personal or identifiable information, and the applicable de-identification standard if any was applied before transfer.
Illustrative clause: “The Shared Data is described in Exhibit A and consists of [DESCRIPTION, e.g. de-identified survey response data, n=X records, in CSV format]. Provider confirms the Shared Data has been processed in accordance with [DE-IDENTIFICATION STANDARD, e.g. HIPAA Safe Harbor] prior to transfer, where applicable.”
5. Permitted uses and restrictions
States what Recipient may and may not do with the data — reuse for a different project, sub-licensing, or onward transfer to a third party each normally require a separate amendment or new agreement. CASRAI’s DSA guide flags silence on this point as a common source of later disputes.
Illustrative clause: “Recipient shall use the Shared Data solely for the Permitted Purpose. Recipient shall not: (a) attempt to re-identify any individual represented in the Shared Data; (b) transfer, sublicense, or otherwise make the Shared Data available to any third party without Provider’s prior written consent; or (c) use the Shared Data for any purpose other than the Permitted Purpose without a written amendment to this Agreement.”
6. Data security requirements
Specifies the technical and organizational safeguards Recipient must maintain, and the breach-notification obligation and timeline if those safeguards fail. Where the Shared Data includes personal data subject to the GDPR, this clause needs to satisfy Article 28 controller-to-processor obligations (or joint-controller obligations), and if the data moves outside the EU/EEA, an Article 46 transfer mechanism such as the current Standard Contractual Clauses — see CASRAI’s GDPR and data subject rights under GDPR entries.
Illustrative clause: “Recipient shall maintain administrative, technical, and physical safeguards for the Shared Data no less protective than [STANDARD, e.g. Provider’s own data security policy / NIST 800-53 moderate baseline], including encryption at rest and in transit and role-based access controls limiting access to personnel with a legitimate need. Recipient shall notify Provider in writing within [NUMBER] business days of discovering any actual or suspected unauthorized access to, or disclosure of, the Shared Data.”
7. Publication rights
Covers whether Recipient may publish results derived from the Shared Data, any pre-publication review period Provider retains, and how both Parties are credited or cited. This is the same clause type CASRAI’s Material Transfer Agreement entry describes as a fixed review window before submission, adapted here for data rather than physical materials. For how published results point readers to the underlying data, see data availability statement samples.
Illustrative clause: “Recipient may publish results derived from the Shared Data, provided Recipient furnishes Provider a copy of any proposed manuscript at least [NUMBER] days prior to submission for Provider’s review and comment. Provider shall not unreasonably withhold comment, and this review right does not extend to withholding consent to publish. Recipient shall acknowledge Provider’s contribution of the Shared Data in accordance with [CITATION FORMAT / DATA CITATION PRINCIPLES].”
8. Ownership and intellectual property
States who retains title to the original dataset and clarifies that ownership of the underlying data and ownership of any downstream publication, database, or derivative work product are separate questions that should not be left implied.
Illustrative clause: “Provider retains all right, title, and interest in and to the Shared Data. Recipient owns any Derivative Data it creates, subject to Provider’s underlying rights in the Shared Data itself and the restrictions in Section 5. Nothing in this Agreement transfers ownership of the Shared Data to Recipient.”
9. Term, retention, and destruction
Sets how long the agreement runs, how long Recipient may retain the Shared Data after the Permitted Purpose is complete, and what counts as acceptable proof of destruction or return.
Illustrative clause: “This Agreement is effective as of the Effective Date and continues until [END DATE / completion of the Permitted Purpose], unless earlier terminated by either Party upon [NUMBER] days’ written notice. Within [NUMBER] days of termination or expiration, Recipient shall, at Provider’s election, destroy or return the Shared Data and certify such destruction or return in writing, except that Recipient may retain a copy solely as required by law or institutional record-retention policy.”
10. Liability and indemnification
Allocates responsibility if the Shared Data is misused or a security obligation is breached, and typically disclaims warranties about the data’s fitness for any particular purpose beyond what was represented.
Illustrative clause: “The Shared Data is provided “as is” without warranty of any kind. Each Party shall indemnify the other against third-party claims arising from that Party’s breach of this Agreement or negligent or wrongful acts in connection with the Shared Data, except to the extent caused by the indemnified Party’s own acts or omissions.”
11. Governing law and dispute resolution
Names the jurisdiction whose law governs the agreement and, often, an escalation or mediation step before litigation — particularly relevant for cross-institutional or cross-border agreements.
Illustrative clause: “This Agreement is governed by the laws of [JURISDICTION], without regard to conflict-of-laws principles. The Parties shall attempt in good faith to resolve any dispute through escalation to each Party’s designated institutional signatory before initiating formal proceedings.”
12. Signatures
Executed by each institution’s authorized signatory — typically the research-contracts, sponsored-programs, or general counsel’s office, not the individual Principal Investigator, consistent with CASRAI’s DSA guide.
What regulators require a data sharing agreement to contain
No general law says every research data transfer needs a document titled “data sharing agreement”. Some regimes, however, prescribe what the document must say once a particular kind of data or relationship is involved. Three sources set the floor that a generic skeleton has to meet.
HIPAA: the data use agreement for a limited data set
Under the HIPAA Privacy Rule, a covered entity may disclose a limited data set for research only if it obtains a data use agreement from the recipient. The required contents are set out in 45 CFR 164.514(e)(4)(ii). The agreement must:
- establish the permitted uses and disclosures of the limited data set, without authorising the recipient to use or further disclose it in a way that would violate the Privacy Rule if done by the covered entity;
- establish who is permitted to use or receive the limited data set;
- provide that the recipient will not use or further disclose the information other than as permitted by the agreement or required by law;
- provide that the recipient will use appropriate safeguards to prevent other uses or disclosures;
- provide that the recipient will report to the covered entity any use or disclosure not provided for by the agreement;
- provide that the recipient will ensure that any agents, including subcontractors, to whom it gives the data agree to the same restrictions and conditions; and
- provide that the recipient will not identify the information or contact the individuals.
A limited data set is protected health information that excludes sixteen direct identifiers of the individual and of relatives, employers and household members: names; postal address information other than town or city, state and zip code; telephone numbers; fax numbers; email addresses; Social Security numbers; medical record numbers; health plan beneficiary numbers; account numbers; certificate and licence numbers; vehicle identifiers and serial numbers, including licence plates; device identifiers and serial numbers; web URLs; IP addresses; biometric identifiers, including finger and voice prints; and full-face photographs and comparable images. Dates and geographic detail finer than the individual level may remain, which is why the recipient’s promise not to re-identify or contact anyone is mandatory rather than optional. In the generic skeleton above, clauses 4, 5, 6 and 9 are where these seven elements belong. See the HIPAA Privacy Rule entry and CASRAI’s Data Use Agreement template for a worked version.
GDPR: when a written arrangement is mandatory
The GDPR names two situations in which a written arrangement is part of the legal requirement, not just good practice.
Joint controllers (Article 26). Where two or more controllers jointly determine the purposes and means of processing, they must determine their respective responsibilities in a transparent arrangement. The arrangement must cover in particular the exercise of data subject rights and each party’s duty to provide the information required by Articles 13 and 14. It may designate a contact point for data subjects, it must reflect the parties’ respective roles and relationships with data subjects, and its essence must be made available to the data subject. Whatever the arrangement says, a data subject can exercise their rights against each controller.
Controller and processor (Article 28(3)). Processing by a processor must be governed by a contract that sets out the subject matter, duration, nature and purpose of the processing, the type of personal data, the categories of data subjects, and the controller’s obligations and rights. The contract must stipulate that the processor:
- (a) processes personal data only on documented instructions from the controller;
- (b) ensures that persons authorised to process the data are committed to confidentiality;
- (c) takes the security measures required by Article 32;
- (d) respects the conditions for engaging another processor;
- (e) assists the controller in responding to data subject requests;
- (f) assists the controller with its obligations under Articles 32 to 36;
- (g) deletes or returns the personal data at the end of the services; and
- (h) makes available the information needed to show compliance and allows for and contributes to audits.
A research collaboration in which one institution holds data and the other analyses it on the first institution’s instructions is a controller-processor relationship and needs these terms; two institutions that each decide how participant data is used are more likely separate or joint controllers. CASRAI’s comparison of a data sharing agreement vs. data processing agreement explains how to tell them apart.
UK ICO: a data sharing agreement is good practice, not a statutory form
The UK Information Commissioner’s Office states in its data sharing code of practice guidance that a data sharing agreement is not mandatory, but that it is a good way to set out the arrangement in writing and helps the parties demonstrate accountability. Its list of what an agreement should cover includes the parties and their roles; the purpose of the sharing; the other organisations involved; whether any of them are joint controllers; what data items are shared; the lawful basis and, for special category data, the applicable condition; how individuals’ rights will be handled; and information governance arrangements, meaning retention, security, breach handling, staff training, review and termination, with detail placed in appendices. The ICO also expects agreements to be reviewed regularly, and after a complaint or a breach.
What real agreements contain: evidence from 24 public agreements
A scoping review in Frontiers in Pharmacology (2024) analysed 24 English-language, publicly available data transfer agreements used in health research and recorded which clauses each contained. The sample is small and may not represent agreements worldwide, but it shows which parts of a skeleton real drafters actually include. The data table below the page sets the counts beside the matching regulatory requirement. The main patterns:
- Near-universal: all 24 included parties information, and 21 included obligations on the parties. Governing law was included in 18, but only 10 of those had it as an independent clause.
- Common but not universal: definitions had a dedicated clause in 16 agreements; publication in 13; confidentiality in 13; intellectual property and licensing in 12.
- Often spread across other clauses: purpose had a dedicated clause in only 10, with 13 more stating it elsewhere; 16 mentioned ownership, but only 6 unambiguously provided for it, so 10 more touched on it in passing; dispute resolution had a dedicated clause in only 4, with 12 more addressing it elsewhere.
- Rare: none had a dedicated reporting clause and only two had an audit clause, although 8 mentioned reporting elsewhere. This is the clause that GDPR Article 28(3)(h) requires of processor contracts and that HIPAA requires in the form of reporting unauthorised use or disclosure.
The review’s recommendations map onto three gaps in many drafts. List every intended purpose in detail rather than in one general phrase. Include an explicit ownership clause, since only 6 of 24 clearly provided for ownership (compare clause 8 of the skeleton above). And structure dispute resolution in tiers: negotiation first, then mediation, then arbitration, with a carve-out allowing a party to seek urgent court relief. Clause 11 above has only the first tier, so a real agreement would extend it.
Linking the agreement to consent and funder policy
The agreement cannot grant more than the data’s origin allows. Where the data came from human participants, the sharing terms must be consistent with what participants were told. The NIH Data Management and Sharing Policy took effect on 25 January 2023 (notice NOT-OD-21-013). It asks applicants to plan how sharing will be addressed in informed consent, and to consider controlled access even for de-identified data when there is a risk to participants. The policy does not add new protections for participants; it relies on existing ones. In practice, the permitted-use and no-re-identification clauses of the agreement should be checked against the consent form and the approved protocol before signature. CASRAI’s guides to the NIH data management and sharing plan and the IRB/REC approval process cover the surrounding steps.
Checklist before sending the draft to counsel
- Every purpose for which the recipient may use the data is listed individually, and anything else is excluded.
- The agreement states who owns the original data and who owns derivative data, in a dedicated clause.
- If personal data from the EU or UK is involved, the parties’ roles (separate controllers, joint controllers, or controller and processor) are decided and the matching Article 26 or Article 28(3) terms are present.
- If a HIPAA limited data set is involved, all seven required data use agreement elements appear, and the data has had the sixteen direct identifiers removed.
- A reporting and audit clause exists, covering breach notice and a way for the provider to verify compliance.
- Dispute resolution has more than one step and preserves urgent court relief.
- A review date or trigger (complaint, breach, change of purpose) is stated.
- The consent form or ethics approval has been compared with the permitted uses.
How to adapt this skeleton for a real agreement
- Route it through your contracts office first. Treat this as a discussion draft, not a final document — most institutions have their own required boilerplate (indemnification caps, export-control representations, institutional signatory chains) that a generic template cannot anticipate.
- Add privacy-specific terms if personal or health data is involved. Under GDPR, this typically means satisfying Article 28 controller/processor obligations directly in the security clause, plus an Article 46 transfer mechanism (currently the modernized Standard Contractual Clauses) if data crosses outside the EU/EEA. Under HIPAA, it typically means the agreement needs to function as, or reference, a Business Associate Agreement or a limited data set arrangement — see the HIPAA Privacy Rule entry.
- Confirm this is actually the right instrument. A Data Use Agreement is the correct instrument instead of a DSA when access is unidirectional (a single recipient obtaining a dataset from a single source, as with restricted-access repository data); a Material Transfer Agreement is needed instead of, or alongside, a DSA when physical materials are moving, not just data; and multi-party consortium projects sometimes fold these terms into a broader consortium agreement rather than a free-standing DSA. See CASRAI’s comparison of a data sharing agreement vs. data processing agreement for a related but distinct instrument used in controller/processor relationships.
- Check whether human-subjects consent already constrains what you can agree to. Where the underlying research involves human subjects, an IRB or equivalent ethics body typically needs to confirm the proposed data sharing is consistent with participants’ original informed consent before the agreement is finalized — see CASRAI’s IRB/REC Approval Process guide.
- If the obligation is confidentiality only, a simpler instrument may fit better. Confidential but non-personal data (proprietary methods, unpublished results shared for peer feedback) is sometimes covered by a non-disclosure agreement instead of a full DSA, if no restricted-use or retention obligations are needed beyond confidentiality.
Frequently asked questions
Is there a free, ready-to-sign data sharing agreement template?
Not one that should actually be signed without review. As CASRAI’s main DSA guide explains, no single universal template works across institutions, funders, and jurisdictions — what applies depends on whether personal or health data is involved, whether data crosses a border, and each institution’s own contracting standards. The illustrative skeleton on this page shows the standard clause structure so a discussion draft can move faster, but every real agreement needs institutional legal review before execution.
What clauses does a data sharing agreement need at minimum?
At minimum: identification of the parties, a description of the data being shared, permitted uses and restrictions on onward transfer, data security and breach-notification obligations, publication rights, ownership of the underlying data versus any derivatives, term/retention/destruction terms, and liability allocation. CASRAI’s DSA guide groups these into five core areas: ownership, permitted use, security and privacy, publication rights, and retention/destruction.
Who signs a data sharing agreement?
Normally the institution, not the individual researcher — a research-contracts, sponsored-programs, or general counsel’s office negotiates and countersigns on the institution’s behalf, binding the institution rather than the Principal Investigator.
Does a generic template need to change for GDPR or HIPAA data?
Yes, substantially. Personal data subject to the GDPR typically needs the security clause to satisfy Article 28 controller/processor obligations, plus an Article 46 transfer safeguard if data leaves the EU/EEA. Health data subject to HIPAA typically needs the agreement to function as, or accompany, a Business Associate Agreement or limited data set arrangement. A generic template without these additions should not be used for either data type.
How is this different from CASRAI’s main data sharing agreement guide?
The main data sharing agreements between collaborators and institutions guide covers what a DSA is, when you need one instead of (or alongside) a Data Management Plan, and how it differs from a Data Use Agreement or Material Transfer Agreement. This page is the worked-example companion: an illustrative, clause-by-clause generic template built to show that guide’s five core areas in concrete document form.
Is a data sharing agreement legally required?
Not as a general rule. The UK ICO describes a data sharing agreement as not mandatory but good practice. Particular situations do require a written arrangement: a HIPAA limited data set can be disclosed for research only under a data use agreement, GDPR Article 26 requires an arrangement between joint controllers, and Article 28(3) requires a contract between a controller and a processor.
What clauses do real agreements most often include?
In a 2024 review of 24 public health-research data transfer agreements, all 24 had parties information, 21 had obligations on the parties, 18 included a governing law provision, 16 had definitions, and 13 each had publication and confidentiality clauses. None had a dedicated reporting clause, and only two had an audit clause.
What does a HIPAA data use agreement have to say?
Under 45 CFR 164.514(e)(4)(ii) it must establish the permitted uses and disclosures, say who may use or receive the limited data set, and bind the recipient to no further use or disclosure, appropriate safeguards, reporting of unauthorised use, the same restrictions for agents and subcontractors, and no re-identification or contact of individuals.
Do joint controllers need a written arrangement?
Yes. GDPR Article 26 requires joint controllers to set out their respective responsibilities in a transparent arrangement, in particular for data subject rights and for the Article 13 and 14 information duties, and the essence of the arrangement must be made available to the data subject.
Who owns the data in a data sharing agreement?
Whatever the agreement says. Only 6 of the 24 reviewed agreements had a dedicated ownership clause, and 10 more mentioned it elsewhere (16 in total), which is why the review recommends stating it explicitly. A usual pattern, shown in clause 8 above, is that the provider keeps title to the shared data and the recipient owns derivative data subject to the provider’s underlying rights.
How often should the agreement be reviewed?
The ICO expects data sharing agreements to be reviewed regularly, and after a complaint or a breach. Setting a review date or trigger in the agreement itself makes that routine.
Further reading: Data Use Agreement Template — Two illustrative, clause-annotated Data Use Agreement examples — a bilateral HIPAA limited-dataset DUA and a dbGaP-style controlled-access certification — plus the checklist any defensible DUA needs to answer.
Sources
- 45 CFR 164.514, eCFR: https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164/subpart-E/section-164.514 (2026-11-22)
- GDPR Article 26, joint controllers: https://gdpr-info.eu/art-26-gdpr/ (2026-11-22)
- GDPR Article 28, processor: https://gdpr-info.eu/art-28-gdpr/ (2026-11-22)
- UK ICO, Data sharing agreements: https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/data-sharing/data-sharing-a-code-of-practice/data-sharing-agreements/ (2026-11-22)
- The anatomy of a data transfer agreement for health research, Frontiers in Pharmacology (2024): https://www.frontiersin.org/journals/pharmacology/articles/10.3389/fphar.2024.1332700/full (2026-11-22)
- NIH Data Management and Sharing Policy, NOT-OD-21-013: https://grants.nih.gov/grants/guide/notice-files/NOT-OD-21-013.html (2026-11-22)
Data: Clause coverage in 24 public health-research data transfer agreements, with the matching regulatory requirement
Counts of how many of 24 public data transfer agreements (Frontiers in Pharmacology 2024 scoping review) contained each clause as a dedicated clause, set beside the regulator-stated requirement for the same topic in HIPAA 45 CFR 164.514(e)(4)(ii), UK ICO data sharing code guidance, and GDPR Art 28(3). Compiled by CASRAI from the three sources.
Period covered: 2024/2026.
| Clause | Agreements with a dedicated clause (count of 24) | Further agreements covering it under other clauses or mentions (count of 24) | Regulatory requirement for the same topic |
|---|---|---|---|
| Parties information | 24 | not reported | ICO: identify the controllers at each stage, including after sharing |
| Definitions | 16 | 2 | Not listed by the three regulatory sources |
| Purpose | 10 | 13 | HIPAA: establish permitted uses and disclosures; ICO: specific purposes and why sharing is necessary |
| Obligations on parties | 21 | not reported | HIPAA: no further disclosure, safeguards, report unauthorised use, bind agents |
| Publication | 13 | 8 | Not listed by the three regulatory sources |
| Confidentiality | 13 | 5 | GDPR Art 28(3)(b): authorised personnel bound by confidentiality |
| IP and licensing | 12 | 4 | Not listed by the three regulatory sources |
| Data ownership | 6 | 10 | Not listed by the three regulatory sources |
| Limitation of liability | 9 | 11 | Not listed by the three regulatory sources |
| Governing law | 10 | 8 | Not listed by the three regulatory sources |
| Dispute resolution | 4 | 12 | Not listed by the three regulatory sources |
| Reporting and audit clauses | 2 | 8 | GDPR Art 28(3)(h): information to show compliance and allow audits; HIPAA: report unauthorised use or disclosure |
Sources
- The anatomy of a data transfer agreement for health research (Frontiers in Pharmacology, 2024) (accessed 2026-11-22)
- 45 CFR 164.514 (eCFR) (accessed 2026-11-22)
- ICO: Data sharing agreements (accessed 2026-11-22)
- GDPR Article 28 (accessed 2026-11-22)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







