    <SEC-DOCUMENT>0001125345-25-000047-index.html : 20250411
    <SEC-HEADER>0001125345-25-000047.hdr.sgml : 20250411
    <ACCEPTANCE-DATETIME>20250411160050
    ACCESSION NUMBER:		0001125345-25-000047
    CONFORMED SUBMISSION TYPE:	DEF 14A
    PUBLIC DOCUMENT COUNT:		17
    CONFORMED PERIOD OF REPORT:	20250521
    FILED AS OF DATE:		20250411
    DATE AS OF CHANGE:		20250411

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			MACROGENICS INC
    		CENTRAL INDEX KEY:			0001125345
    		STANDARD INDUSTRIAL CLASSIFICATION:	PHARMACEUTICAL PREPARATIONS [2834]
    		ORGANIZATION NAME:           	03 Life Sciences
    		EIN:				000000000
    		STATE OF INCORPORATION:			DE
    		FISCAL YEAR END:			1231

    	FILING VALUES:
    		FORM TYPE:		DEF 14A
    		SEC ACT:		1934 Act
    		SEC FILE NUMBER:	001-36112
    		FILM NUMBER:		25831494

    	BUSINESS ADDRESS:
    		STREET 1:		9704 MEDICAL CENTER DRIVE
    		CITY:			Rockville
    		STATE:			MD
    		ZIP:			20850
    		BUSINESS PHONE:		301-251-5172

    	MAIL ADDRESS:
    		STREET 1:		9704 MEDICAL CENTER DRIVE
    		CITY:			ROCKVILLE
    		STATE:			MD
    		ZIP:			20850
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>DEF 14A
    <SEQUENCE>1
    <FILENAME>mgnx-20250411.htm
    <DESCRIPTION>DEF 14A
    <TEXT>
    Document 1 - file: mgnx-20250411.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.SCH
    <SEQUENCE>2
    <FILENAME>mgnx-20250411.xsd
    <DESCRIPTION>XBRL TAXONOMY EXTENSION SCHEMA DOCUMENT
    <TEXT>
    Document 2 - file: mgnx-20250411.xsd

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>3
    <FILENAME>mgnx-20250411_g1.jpg
    <DESCRIPTION>SIGNATURE
    <TEXT>
    Document 3 - file: mgnx-20250411_g1.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>4
    <FILENAME>mgnx-20250411_g2.jpg
    <DESCRIPTION>PVP CHART
    <TEXT>
    Document 4 - file: mgnx-20250411_g2.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>5
    <FILENAME>mgnx-20250411_g3.jpg
    <DESCRIPTION>PROXY CARD PAGE 1
    <TEXT>
    Document 5 - file: mgnx-20250411_g3.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>6
    <FILENAME>mgnx-20250411_g4.jpg
    <DESCRIPTION>PROXY CARD PAGE 2
    <TEXT>
    Document 6 - file: mgnx-20250411_g4.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>8
    <FILENAME>R1.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 8 - file: R1.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>9
    <FILENAME>R2.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 9 - file: R2.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>10
    <FILENAME>R3.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 10 - file: R3.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>11
    <FILENAME>R4.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 11 - file: R4.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>12
    <FILENAME>Show.js
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 12 - file: Show.js

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>13
    <FILENAME>report.css
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 13 - file: report.css

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>15
    <FILENAME>FilingSummary.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 15 - file: FilingSummary.html

    Document 15 - RAW XML: FilingSummary.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>JSON
    <SEQUENCE>17
    <FILENAME>MetaLinks.json
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 17 - file: MetaLinks.json

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>ZIP
    <SEQUENCE>18
    <FILENAME>0001125345-25-000047-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 18 - file: 0001125345-25-000047-xbrl.zip

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>19
    <FILENAME>mgnx-20250411_htm.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 19 - file: mgnx-20250411_htm.html

    Document 19 - RAW XML: mgnx-20250411_htm.xml

    </DOCUMENT>
    </SEC-DOCUMENT>