    <SEC-DOCUMENT>0001193125-24-231993-index.html : 20241003
    <SEC-HEADER>0001193125-24-231993.hdr.sgml : 20241003
    <ACCEPTANCE-DATETIME>20241003125656
    ACCESSION NUMBER:		0001193125-24-231993
    CONFORMED SUBMISSION TYPE:	N-CSR
    PUBLIC DOCUMENT COUNT:		21
    CONFORMED PERIOD OF REPORT:	20240731
    FILED AS OF DATE:		20241003
    DATE AS OF CHANGE:		20241003
    EFFECTIVENESS DATE:		20241003

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			BLACKROCK MUNIYIELD PENNSYLVANIA QUALITY FUND
    		CENTRAL INDEX KEY:			0000891038
    		ORGANIZATION NAME:
    		IRS NUMBER:				223199516
    		STATE OF INCORPORATION:			NJ
    		FISCAL YEAR END:			0630

    	FILING VALUES:
    		FORM TYPE:		N-CSR
    		SEC ACT:		1940 Act
    		SEC FILE NUMBER:	811-07136
    		FILM NUMBER:		241350643

    	BUSINESS ADDRESS:
    		STREET 1:		100 BELLEVUE PARKWAY
    		CITY:			WILMINGTON
    		STATE:			DE
    		ZIP:			19809
    		BUSINESS PHONE:		800-441-7762

    	MAIL ADDRESS:
    		STREET 1:		100 BELLEVUE PARKWAY
    		CITY:			WILMINGTON
    		STATE:			DE
    		ZIP:			19809

    	FORMER COMPANY:
    		FORMER CONFORMED NAME:	BLACKROCK MUNIYIELD PENNSYLVANIA INSURED FUND
    		DATE OF NAME CHANGE:	20080620

    	FORMER COMPANY:
    		FORMER CONFORMED NAME:	BLACKROCK MUNIYIELD INSURED PENNSYLVANIA FUND
    		DATE OF NAME CHANGE:	20070803

    	FORMER COMPANY:
    		FORMER CONFORMED NAME:	BLACKROCK MUNIYIELD PENNSYLVANIA FUND
    		DATE OF NAME CHANGE:	20070611
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>N-CSR
    <SEQUENCE>1
    <FILENAME>d882232dncsr.htm
    <DESCRIPTION>BLACKROCK MUNIYIELD PENNSYLVANIA QUALITY FUND
    <TEXT>
    Document 1 - file: d882232dncsr.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.CERT
    <SEQUENCE>2
    <FILENAME>d882232dex99cert.htm
    <DESCRIPTION>CERTIFICATION PURSUANT TO SECTION 302
    <TEXT>
    Document 2 - file: d882232dex99cert.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.906CERT
    <SEQUENCE>3
    <FILENAME>d882232dex99906cert.htm
    <DESCRIPTION>CERTIFICATION PURSUANT TO SECTION 906
    <TEXT>
    Document 3 - file: d882232dex99906cert.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.PROXYPOL
    <SEQUENCE>4
    <FILENAME>d882232dex99proxypol.htm
    <DESCRIPTION>PROXY VOTING POLICY AND PROCEDURES
    <TEXT>
    Document 4 - file: d882232dex99proxypol.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.GLOBALCORPGOV
    <SEQUENCE>5
    <FILENAME>d882232dex99globalcorpgov.htm
    <DESCRIPTION>GLOBAL CORPORATE GOVERNANCE & ENGAGEMENT PRINCIPLES
    <TEXT>
    Document 5 - file: d882232dex99globalcorpgov.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.USCORPGOV
    <SEQUENCE>6
    <FILENAME>d882232dex99uscorpgov.htm
    <DESCRIPTION>CORPORATE GOVERNANCE AND PROXY VOTING GUIDELINES FOR U.S. SECURITIES
    <TEXT>
    Document 6 - file: d882232dex99uscorpgov.htm

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

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

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

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

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

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

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

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

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

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>16
    <FILENAME>g882232img4d115aaa8.gif
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 16 - file: g882232img4d115aaa8.gif

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>17
    <FILENAME>g882232img5b26d74a5.gif
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 17 - file: g882232img5b26d74a5.gif

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

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>19
    <FILENAME>g882232imgb92d91003.gif
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 19 - file: g882232imgb92d91003.gif

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

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>21
    <FILENAME>g882232imgf599a1e86.gif
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 21 - file: g882232imgf599a1e86.gif

    </DOCUMENT>
    </SEC-DOCUMENT>