    <SEC-DOCUMENT>0001193125-25-076408-index.html : 20250409
    <SEC-HEADER>0001193125-25-076408.hdr.sgml : 20250409
    <ACCEPTANCE-DATETIME>20250409092436
    ACCESSION NUMBER:		0001193125-25-076408
    CONFORMED SUBMISSION TYPE:	DEF 14A
    PUBLIC DOCUMENT COUNT:		24
    CONFORMED PERIOD OF REPORT:	20250514
    FILED AS OF DATE:		20250409
    DATE AS OF CHANGE:		20250409

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			Mastech Digital, Inc.
    		CENTRAL INDEX KEY:			0001437226
    		STANDARD INDUSTRIAL CLASSIFICATION:	SERVICES-MANAGEMENT CONSULTING SERVICES [8742]
    		ORGANIZATION NAME:           	07 Trade & Services
    		EIN:				262753540
    		STATE OF INCORPORATION:			PA
    		FISCAL YEAR END:			1231

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

    	BUSINESS ADDRESS:
    		STREET 1:		1305 CHERRINGTON PARKWAY
    		STREET 2:		BUILDING 210, SUITE 400
    		CITY:			MOON TOWNSHIP
    		STATE:			PA
    		ZIP:			15108
    		BUSINESS PHONE:		412-787-2100

    	MAIL ADDRESS:
    		STREET 1:		1305 CHERRINGTON PARKWAY
    		STREET 2:		BUILDING 210, SUITE 400
    		CITY:			MOON TOWNSHIP
    		STATE:			PA
    		ZIP:			15108

    	FORMER COMPANY:
    		FORMER CONFORMED NAME:	Mastech Holdings, Inc.
    		DATE OF NAME CHANGE:	20080610
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>DEF 14A
    <SEQUENCE>1
    <FILENAME>d911674ddef14a.htm
    <DESCRIPTION>DEF 14A
    <TEXT>
    Document 1 - file: d911674ddef14a.htm

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

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>3
    <FILENAME>g911674g01b37.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 3 - file: g911674g01b37.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>4
    <FILENAME>g911674g01g01.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 4 - file: g911674g01g01.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>5
    <FILENAME>g911674g02b37.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 5 - file: g911674g02b37.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>6
    <FILENAME>g911674g03s01.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 6 - file: g911674g03s01.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>7
    <FILENAME>g911674g12w55.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 7 - file: g911674g12w55.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>8
    <FILENAME>g911674g67m66.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 8 - file: g911674g67m66.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>9
    <FILENAME>g911674g72q07.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 9 - file: g911674g72q07.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>10
    <FILENAME>g911674g80w12.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 10 - file: g911674g80w12.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>11
    <FILENAME>g911674g96x20.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 11 - file: g911674g96x20.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>12
    <FILENAME>g911674gsnap4.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 12 - file: g911674gsnap4.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>13
    <FILENAME>g911674nsnap3.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 13 - file: g911674nsnap3.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>14
    <FILENAME>g911674snap5.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 14 - file: g911674snap5.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>15
    <FILENAME>g911674spb43.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 15 - file: g911674spb43.jpg

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

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

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

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

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

    Document 22 - RAW XML: FilingSummary.xml

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

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

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

    Document 26 - RAW XML: d911674ddef14a_htm.xml

    </DOCUMENT>
    </SEC-DOCUMENT>